Detailed Description
Constructor & Destructor Documentation
ola::thread::ConditionVariable::ConditionVariable |
( |
| ) |
|
ola::thread::ConditionVariable::~ConditionVariable |
( |
| ) |
|
Member Function Documentation
void ola::thread::ConditionVariable::Broadcast |
( |
| ) |
|
void ola::thread::ConditionVariable::Signal |
( |
| ) |
|
Wake up a single listener
bool ola::thread::ConditionVariable::TimedWait |
( |
Mutex * |
mutex, |
|
|
const ola::TimeStamp & |
wake_up_time |
|
) |
| |
Timed Wait
- Parameters
-
mutex | the mutex that is locked |
wake_up_time | the time to wait up. |
- Returns
- true if we received a signal, false if the timeout expired.
void ola::thread::ConditionVariable::Wait |
( |
Mutex * |
mutex | ) |
|
Wait on a condition variable
- Parameters
-
mutex | the mutex that is locked |
The documentation for this class was generated from the following files:
- include/ola/thread/Mutex.h
- common/thread/Mutex.cpp