[#BloombergLP-bslmt-FastPostSemaphoreImpl-timedWait] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/FastPostSemaphoreImpl.adoc[FastPostSemaphoreImpl]::timedWait :relfileprefix: ../../../ :mrdocs: If this semaphore is initially disabled, or becomes disabled while blocking, return `e_DISABLED` with no effect on the count. Otherwise, block until the count of this semaphore is a positive value or the specified `absTime` timeout expires. If the count of this semaphore is a positive value, return 0 and atomically decrement the count. If the `absTime` timeout expires, return `e_TIMED_OUT` with no effect on the count. Return `e_FAILED` if an error occurs. `absTime` is an _absolute_ time represented as an interval from some epoch, which is determined by the clock indicated at construction (see {Supported Clock‐Types} in the component documentation). == Synopsis Declared in `<bslmt_fastpostsemaphoreimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int timedWait(xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& absTime); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#