Constructors

Synopses

Declared in <bslmt_condition.h>

Create a condition variable object.

explicit
Condition(bsls::SystemClockType::Enum clockType = bsls::SystemClockType::e_REALTIME);

Create a condition variable that uses the monotonic clock.

explicit
Condition(std::chrono::steady_clock const& steadyClock);

Create a condition variable that uses the realtime clock.

explicit
Condition(std::chrono::system_clock const& systemClock);

Parameters

Name

Description

clockType

type of system clock for timedWait timeouts

steadyClock

tag selecting the system monotonic clock

systemClock

tag selecting the system realtime clock

Created with MrDocs