[#BloombergLP-bslmt-TimedSemaphoreImpl-041-2constructor-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TimedSemaphoreImpl-041.adoc[TimedSemaphoreImpl<Platform::PosixAdvTimedSemaphore>]::TimedSemaphoreImpl :relfileprefix: ../../../ :mrdocs: Create a timed semaphore initially having the specified `count`. Optionally specify a `clockType` indicating the type of the system clock against which the `bsls::TimeInterval` `absTime` timeouts passed to the `timedWait` method are to be interpreted (see {Supported Clock‐Types} in the component documentation). If `clockType` is not specified then the realtime system clock is used. This method does not return normally unless there are sufficient system resources to construct the object. == Synopsis Declared in `<bslmt_timedsemaphoreimpl_posixadv.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit TimedSemaphoreImpl( int count, xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType = bsls::SystemClockType::e_REALTIME); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#