Constructors
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...
| Name | Description |
|---|---|
| clockType | clock type used to interpret timedWait timeouts |
| count | initial count of the semaphore |