#include <ConditionImpl.h>
Public Member Functions | |
| ConditionImpl (Lockable &predicateLock) | |
| ~ConditionImpl () | |
| void | signal () |
| void | broadcast () |
| void | wait () |
| bool | wait (unsigned long timeout) |
| ZThread::ConditionImpl< List >::ConditionImpl | ( | Lockable & | predicateLock | ) | [inline] |
Create a new ConditionImpl.
| Initialization_Exception | thrown if resources could not be allocated |
| ZThread::ConditionImpl< List >::~ConditionImpl | ( | ) |
Destroy this ConditionImpl, release its resources
| void ZThread::ConditionImpl< List >::broadcast | ( | ) |
Broadcast to the condition variable, waking all threads waiting at the time of the broadcast.
| void ZThread::ConditionImpl< List >::signal | ( | ) |
Signal the condition variable, waking one thread if any.
| bool ZThread::ConditionImpl< List >::wait | ( | unsigned long | timeout | ) |
Cause the currently executing thread to block until this ConditionImpl has been signaled, or the timeout expires or the threads state changes.
| _predicateLock | Lockable& | |
| timeout | maximum milliseconds to block. |
| Interrupted_Exception | thrown when the caller status is interrupted | |
| Synchronization_Exception | thrown if there is some other error. |
| void ZThread::ConditionImpl< List >::wait | ( | ) |
Cause the currently executing thread to block until this ConditionImpl has been signaled, the threads state changes.
| predicate | Lockable& |
| Interrupted_Exception | thrown when the caller status is interrupted | |
| Synchronization_Exception | thrown if there is some other error. |
1.4.7