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

Name

Description

_lock

Lock to temporarily release.

mutex

Original mutex, passed back for thread‐safety analysis.

_guardname

Name of the guard variable being reversed.

_file

Source file of the caller.

_line

Source line of the caller.

Created with MrDocs