![]() |
Open Lighting Architecture 0.10.9
|
A condition variable
Public Member Functions | |
| ConditionVariable () | |
| ~ConditionVariable () | |
| void | Wait (Mutex *mutex) |
| bool | TimedWait (Mutex *mutex, const ola::TimeStamp &wake_up_time) |
| void | Signal () |
| void | Broadcast () |
Clean up
Wake up all listeners
Wake up a single listener
| bool ola::thread::ConditionVariable::TimedWait | ( | Mutex * | mutex, |
| const ola::TimeStamp & | wake_up_time ) |
Timed Wait
| mutex | the mutex that is locked |
| wake_up_time | the time to wake up. This must be an absolute i.e. real time. |
| void ola::thread::ConditionVariable::Wait | ( | Mutex * | mutex | ) |
Wait on a condition variable
| mutex | the mutex that is locked |