#include <OnixS/FIXEngine/Threading/Condition.h>
Public Member Functions | |
| Condition () | |
| ~Condition () | |
| void | signal () |
| void | signalAll () |
| void | wait (Mutex &lock) |
The condition variable - a synchronization objects that allows threads to wait for certain events (conditions) to occur.
The condition variable enables threads to atomically block and test a condition under the protection of the mutual exclusion lock (Mutex) until the condition is satisfied.
Definition at line 33 of file Condition.h.
| Condition | ( | ) |
Initializes the instance.
| ~Condition | ( | ) |
Destructs the instance.
| void signal | ( | ) |
Signals the one waiting thread.
| void signalAll | ( | ) |
Signals all waiting threads.