BloombergLP::bslmt::LockWriteGuard::LockWriteGuard

Create a guard that acquires a write lock on lock.

Synopsis

Declared in <bslmt_writelockguard.h>

explicit
LockWriteGuard(T* lock);

Parameters

NameDescription
locklock object to acquire for writing; may be null