Home | History | Annotate | Download | only in decpp

Lines Matching refs:Semaphore

33  * \brief Semaphore
35 * Semaphore provides standard semaphore functionality.
37 * Semaphore is thread-safe counter that can be used to control access
42 class Semaphore
45 Semaphore (int initialValue, deUint32 flags = 0);
46 ~Semaphore (void);
53 Semaphore (const Semaphore& other); // Not allowed!
54 Semaphore& operator= (const Semaphore& other); // Not allowed!
62 * \brief Increment semaphore count.
64 * Incremeting increases semaphore value by 1. If a value is currently
68 * Incrementing semaphore will never block.
70 inline void Semaphore::increment (void) throw()
76 * \brief Decrement semaphore count.
78 * Decrementing decreases semaphore value by 1. If resulting value is negative
85 inline void Semaphore::decrement (void) throw()
91 * \brief Try to decrement semaphore value.
96 * semaphore counter would result in negative value or there is already
97 * one or more threads waiting for this semaphore.
99 inline bool Semaphore::tryDecrement (void) throw()