BloombergLP::bslmt::FastPostSemaphore::FastPostSemaphore

Create a FastPostSemaphore object initially having a count of 0.

Synopsis

Declared in <bslmt_fastpostsemaphore.h>

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

Description

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).

Parameters

NameDescription
steadyClocktag selecting the system monotonic clock