This class implements a portable inter‐thread signaling primitive.

Synopsis

Declared in <bslmt_condition.h>

class Condition;

Enums

Name

Description

Unnamed enum

The value timedWait returns when a timeout occurs.

Member Functions

Name

Description

Condition [constructor]

Constructors

~Condition [destructor]

Destroy this condition variable object.

broadcast

Wake all threads currently waiting on this condition.

clockType

Return the clock type used for timeouts.

signal

Wake a single thread currently waiting on this condition.

timedWait

Unlock mutex and wait until signaled or until absTime.

wait

Unlock mutex and wait until this condition is signaled.

Created with MrDocs