This class template implements a guard for release and reacquisition of write synchronization resources (i.e., writer locks).

Synopsis

Declared in <bslmt_writelockguard.h>

template<class T>
class WriteLockGuardUnlock;

Member Functions

Name

Description

WriteLockGuardUnlock [constructor]

Constructors

~WriteLockGuardUnlock [destructor]

Destroy this guard and reacquire a write lock on the managed lock, if any.

ptr

Return the address of the modifiable lock object under management by this guard, or 0 if no lock is currently being managed.

release

Release the managed lock from this guard without locking it.

Created with MrDocs