Full specialization of Condition for pthreads.
Declared in <bslmt_conditionimpl_pthread.h>
template<>
class ConditionImpl<Platform::PosixThreads>;
This class provides a full specialization of Condition for pthreads. The implementation provided here defines an efficient proxy for the pthread_cond_t pthread type, and related operations.
| Name | Description |
|---|---|
Unnamed enum | The value timedWait returns when a timeout occurs. |
| Name | Description |
|---|---|
ConditionImpl [constructor] | Create a condition variable object. |
~ConditionImpl [destructor] | Destroy condition variable this object. |
broadcast | Signal this condition object; wake up all threads that are currently waiting on this condition. |
clockType | Return the clock type used for timeouts. |
signal | Signal this condition object; wake up a single thread that is currently waiting on this condition. |
timedWait | Atomically unlock the mutex and wait until signaled or timeout. |
wait | Atomically unlock the mutex and wait until this condition is signaled. |