[#BloombergLP-bslmt-TimedSemaphore-2constructor-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TimedSemaphore.adoc[TimedSemaphore]::TimedSemaphore :relfileprefix: ../../../ :mrdocs: Create a timed semaphore initially having the specified `count`. Use the monotonic system clock as the clock against which the `absTime` timeouts passed to the `timedWait` methods are interpreted (see {Supported Clock‐Types} in the component‐level documentation). This method does not return normally unless there are sufficient system resources to construct the object. The behavior is undefined unless `0 <= count`. == Synopsis Declared in `<bslmt_timedsemaphore.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TimedSemaphore( int count, std::chrono::steady_clock const&); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#