[#BloombergLP-bslmt-FastPostSemaphore-timedWait-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/FastPostSemaphore.adoc[FastPostSemaphore]::timedWait :relfileprefix: ../../../ :mrdocs: Block until this semaphore can be acquired or `absTime` expires. == Synopses Declared in `<bslmt_fastpostsemaphore.h>` Block until this semaphore can be acquired or `absTime` expires. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bslmt/FastPostSemaphore/timedWait-01.adoc[timedWait](xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& absTime); ---- [.small]#xref:BloombergLP/bslmt/FastPostSemaphore/timedWait-01.adoc[_» more..._]# Block until this semaphore can be acquired or `absTime` expires. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CLOCK, class DURATION> int xref:BloombergLP/bslmt/FastPostSemaphore/timedWait-09.adoc[timedWait](bsl::chrono::time_point<CLOCK, DURATION> const& absTime); ---- [.small]#xref:BloombergLP/bslmt/FastPostSemaphore/timedWait-09.adoc[_» more..._]# == Return Value 0 on success, `e_DISABLED` if disabled, `e_TIMED_OUT` on timeout, or `e_FAILED` on error == Parameters [cols="1,4"] |=== | Name| Description | *absTime* | absolute timeout from the construction clock epoch |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#