BloombergLP::bslmt::FastPostSemaphore::FastPostSemaphore

Constructors

Synopses

Declared in <bslmt_fastpostsemaphore.h>

Create a FastPostSemaphore object initially having a count of 0.

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

Create a FastPostSemaphore object initially having a count of 0.

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

Create a FastPostSemaphore object initially having a count of 0.

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

Create a FastPostSemaphore object initially having the specified count.

explicit
FastPostSemaphore(
    int count,
    bsls::SystemClockType::Enum clockType = bsls::SystemClockType::e_REALTIME);
» more...

Create a FastPostSemaphore object initially having the specified count.

FastPostSemaphore(
    int count,
    std::chrono::steady_clock const& steadyClock);
» more...

Create a FastPostSemaphore object initially having the specified count.

FastPostSemaphore(
    int count,
    std::chrono::system_clock const& systemClock);
» more...

Parameters

NameDescription
clockTypeclock used to interpret timedWait timeouts
steadyClocktag selecting the system monotonic clock
systemClocktag selecting the system realtime clock
countinitial number of available resources