[#UniqueLock-reverse_lock-2constructor-0f] = xref:UniqueLock.adoc[UniqueLock]::xref:UniqueLock/reverse_lock.adoc[reverse_lock]::reverse_lock :relfileprefix: ../../ :mrdocs: Unlock the wrapped lock, to be re‐locked when this object is destroyed. == Synopsis Declared in `<sync.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit reverse_lock( xref:UniqueLock.adoc[UniqueLock]& _lock, MutexType const& mutex, char const* _guardname, char const* _file, int _line); ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#