[#absl-CondVar-WaitWithTimeout] = xref:absl.adoc[absl]::xref:absl/CondVar.adoc[CondVar]::WaitWithTimeout :relfileprefix: ../../ :mrdocs: Atomically releases `mu` and blocks until signaled or the timeout expires, then reacquires it. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WaitWithTimeout( xref:absl/Mutex.adoc[Mutex]* mu, xref:absl/Duration.adoc[absl::Duration] timeout); ---- == Return Value `true` if the timeout expired without this `CondVar` being signaled. == Parameters [cols="1,4"] |=== | Name| Description | *mu* | The mutex held by the calling thread. | *timeout* | The maximum time to wait. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#