[#BloombergLP-bslmt-ChronoUtil-timedWait-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ChronoUtil.adoc[ChronoUtil]::timedWait :relfileprefix: ../../../ :mrdocs: `timedWait` overloads == Synopses Declared in `<bslmt_chronoutil.h>` Block on `primitive` until success or the absolute timeout. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class PRIMITIVE, class CLOCK, class DURATION> static int xref:BloombergLP/bslmt/ChronoUtil/timedWait-06.adoc[timedWait]( PRIMITIVE* primitive, bsl::chrono::time_point<CLOCK, DURATION> const& absTime); ---- [.small]#xref:BloombergLP/bslmt/ChronoUtil/timedWait-06.adoc[_» more..._]# Block on `primitive` with an argument until success or timeout. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class PRIMITIVE, class ARG_TYPE, class CLOCK, class DURATION> static int xref:BloombergLP/bslmt/ChronoUtil/timedWait-0a.adoc[timedWait]( PRIMITIVE* primitive, ARG_TYPE* argument, bsl::chrono::time_point<CLOCK, DURATION> const& absTime); ---- [.small]#xref:BloombergLP/bslmt/ChronoUtil/timedWait-0a.adoc[_» more..._]# == Return Value 0 on success, `PRIMITIVE::e_TIMED_OUT` on timeout, and other values on error == Parameters [cols="1,4"] |=== | Name| Description | *primitive* | synchronization primitive on which to wait | *absTime* | absolute timeout as a `bsl::chrono::time_point` | *argument* | additional argument forwarded to `timedWait` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#