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);
Create a timed semaphore initially having the specified count.
explicit
TimedSemaphoreImpl(
int count,
bsls::SystemClockType::Enum clockType = bsls::SystemClockType::e_REALTIME);
Parameters
Name |
Description |
clockType |
clock type used to interpret |
count |
initial count of the semaphore |
Created with MrDocs