![]() |
OpenSceneGraph
|
This class provides an object-oriented thread condition interface. More...
Public Member Functions | |
| Condition () | |
| Constructor. More... | |
| virtual | ~Condition () |
| Destructor. More... | |
| virtual int | wait (Mutex *mutex) |
| Wait on a mutex. More... | |
| virtual int | wait (Mutex *mutex, unsigned long int ms) |
| Wait on a mutex for a given amount of time (ms) More... | |
| virtual int | signal () |
| Signal a SINGLE thread to wake if it's waiting. More... | |
| virtual int | broadcast () |
| Wake all threads waiting on this condition. More... | |
This class provides an object-oriented thread condition interface.
| OpenThreads::Condition::Condition | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Wake all threads waiting on this condition.
Referenced by OpenThreads::BlockCount::completed(), OpenThreads::Block::release(), OpenThreads::BlockCount::release(), and OpenThreads::BlockCount::reset().
|
virtual |
Signal a SINGLE thread to wake if it's waiting.
|
virtual |
Wait on a mutex.
Referenced by OpenThreads::Block::block(), and OpenThreads::BlockCount::block().
|
virtual |
Wait on a mutex for a given amount of time (ms)
1.8.13