Constructors

Synopses

Declared in <bslmt_writelockguard.h>

Create a scoped guard that unlocks the specified lock.

explicit
WriteLockGuardUnlock(T* lock);

Create a scoped guard that conditionally unlocks the specified lock.

WriteLockGuardUnlock(
    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