Constructors

Synopses

Declared in <bslmt_readlockguard.h>

Create a guard that unlocks lock for the guard's lifetime.

explicit
ReadLockGuardUnlock(T* lock);

Create a guard that optionally unlocks lock for its lifetime.

ReadLockGuardUnlock(
    T* lock,
    bool alreadyUnlockedFlag);

Parameters

Name

Description

lock

lock object to unlock; may be null

alreadyUnlockedFlag

true if lock is already unlocked

Created with MrDocs