[#BloombergLP-bslmt-TimedSemaphore-wait] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TimedSemaphore.adoc[TimedSemaphore]::wait :relfileprefix: ../../../ :mrdocs: Block until the count of this timed semaphore is a positive value, then atomically decrement the count and return. == Synopsis Declared in `<bslmt_timedsemaphore.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void wait(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#