[#BloombergLP-bslmt-LockWriteGuard-2constructor-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/LockWriteGuard.adoc[LockWriteGuard]::LockWriteGuard :relfileprefix: ../../../ :mrdocs: Create a guard that acquires a write lock on `lock`. == Synopsis Declared in `<bslmt_writelockguard.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit LockWriteGuard(T* lock); ---- == Parameters [cols="1,4"] |=== | Name| Description | *lock* | lock object to acquire for writing; may be null |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#