[#absl-CondVar-WaitWithDeadline]
= xref:absl.adoc[absl]::xref:absl/CondVar.adoc[CondVar]::WaitWithDeadline
:relfileprefix: ../../
:mrdocs:

Atomically releases `mu` and blocks until signaled or the deadline passes, then reacquires it&period;

== Synopsis

Declared in `&lt;absl&sol;synchronization&sol;mutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
WaitWithDeadline(
    xref:absl/Mutex.adoc[Mutex]* mu,
    xref:absl/Time.adoc[absl::Time] deadline);
----

== Return Value

`true` if the deadline passed without this `CondVar` being signaled&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mu*
| The mutex held by the calling thread&period;
| *deadline*
| The absolute time after which to stop waiting&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
