BloombergLP::bslmt::TimedSemaphoreImpl<Platform::PthreadTimedSemaphore>::TimedSemaphoreImpl

Constructors

Synopses

Declared in <bslmt_timedsemaphoreimpl_pthread.h>

Create a timed semaphore initially having a count of 0.

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

Create a timed semaphore initially having the specified count.

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

Parameters

NameDescription
clockTypeclock type used to interpret timedWait timeouts
countinitial count of the semaphore