[#absl-Mutex-WriterLockWhenWithDeadline] = xref:absl.adoc[absl]::xref:absl/Mutex.adoc[Mutex]::WriterLockWhenWithDeadline :relfileprefix: ../../ :mrdocs: Blocks until `cond` is `true` or the deadline passes, then atomically acquires this `Mutex` in write (exclusive) mode. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WriterLockWhenWithDeadline( xref:absl/Condition.adoc[Condition] const& cond, xref:absl/Time.adoc[absl::Time] deadline); ---- == Return Value `true` if `cond` is `true` on return. == Parameters [cols="1,4"] |=== | Name| Description | *cond* | The condition to wait for. | *deadline* | The absolute time after which to stop waiting. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#