Condition synchronization primitive.
More...
#include <UT_Condition.h>
Condition synchronization primitive.
Definition at line 25 of file UT_Condition.h.
UT_Condition::UT_Condition |
( |
| ) |
|
UT_Condition::~UT_Condition |
( |
| ) |
|
void UT_Condition::triggerAll |
( |
| ) |
|
Trigger all waiting threads.
- Note
- The caller should hold the same lock that was passed to waitForTrigger() if precise scheduling of events is desired.
void UT_Condition::triggerOne |
( |
| ) |
|
Trigger one waiting thread.
- Note
- The caller should hold the same lock that was passed to waitForTrigger() if precise scheduling of events is desired.
Block until we're triggered.
The lock must be held when this method is called it will be released when waiting for the trigger and re-acquired when this method returns.
The documentation for this class was generated from the following file: