[#absl-WriterMutexLock-2constructor-02] = xref:absl.adoc[absl]::xref:absl/WriterMutexLock.adoc[WriterMutexLock]::WriterMutexLock :relfileprefix: ../../ :mrdocs: Acquires a write lock on `mu` for the lifetime of this object. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit WriterMutexLock(xref:absl/Mutex.adoc[Mutex]& mu); ---- == Parameters [cols="1,4"] |=== | Name| Description | *mu* | The mutex to lock. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#