Create a condition variable that uses the monotonic clock.

Synopsis

Declared in <bslmt_condition.h>

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

Description

Create a condition variable object. Use the monotonic system clock as the clock against which the absTime timeouts passed to the timedWait methods are interpreted (see {Supported Clock‐Types} in the component‐level documentation). This method does not return normally unless there are sufficient system resources to construct the object.

Parameters

Name

Description

steadyClock

tag selecting the system monotonic clock

Created with MrDocs