BloombergLP::bslmt::Condition::Condition

Constructors

Synopses

Declared in <bslmt_condition.h>

Create a condition variable object.

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

Create a condition variable that uses the monotonic clock.

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

Create a condition variable that uses the realtime clock.

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

Parameters

NameDescription
clockTypetype of system clock for timedWait timeouts
steadyClocktag selecting the system monotonic clock
systemClocktag selecting the system realtime clock