Public Member Functions | |
Condition () | |
~Condition () | |
void | signal () |
void | signalAll () |
void | wait (Mutex &lock) |
Condition variable enables threads to atomically block and test condition under protection of mutual exclusion lock (Mutex) until condition is satisfied.
Definition at line 36 of file Condition.h.
Condition | ( | ) |
Initializes the instance.
~Condition | ( | ) |
Destructs the instance.
void signal | ( | ) |
Signals one waiting thread.
void signalAll | ( | ) |
Signals all waiting threads.