UniqueLock::reverse_lock::reverse_lock

Unlock the wrapped lock, to be re-locked when this object is destroyed.

Synopsis

Declared in <sync.h>

explicit
reverse_lock(
    UniqueLock& _lock,
    MutexType const& mutex,
    char const* _guardname,
    char const* _file,
    int _line);

Parameters

NameDescription
_lockLock to temporarily release.
mutexOriginal mutex, passed back for thread-safety analysis.
_guardnameName of the guard variable being reversed.
_fileSource file of the caller.
_lineSource line of the caller.