Full specialization of Condition for pthreads.

Synopsis

Declared in <bslmt_conditionimpl_pthread.h>

Description

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.

Enums

Name

Description

Unnamed enum

The value timedWait returns when a timeout occurs.

Member Functions

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.

Created with MrDocs