[#UniqueLock-reverse_lock-2constructor-0f]
= xref:UniqueLock.adoc[UniqueLock]::xref:UniqueLock/reverse_lock.adoc[reverse&lowbar;lock]::reverse&lowbar;lock
:relfileprefix: ../../
:mrdocs:

Unlock the wrapped lock, to be re&hyphen;locked when this object is destroyed&period;

== Synopsis

Declared in `&lt;sync&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;release&lowbar;capability(0x7f2e18929cf0), release&lowbar;capability(0x7f2e18c10050), release&lowbar;capability(0x7f2e324d9420), release&lowbar;capability(0x7f2e402531d0), release&lowbar;capability(0x7f2e36f538b0), release&lowbar;capability(0x7f2e2a2fe830), release&lowbar;capability(0x7f2e37b26920), release&lowbar;capability(0x7f2e30122c10), release&lowbar;capability(0x7f2e3b4d4210), release&lowbar;capability(0x7f2e22085f40), release&lowbar;capability(0x7f2e25f32cc0), release&lowbar;capability(0x7f2e42e80a10), release&lowbar;capability(0x7f2e3ba27490), release&lowbar;capability(0x7f2e31c46820), release&lowbar;capability(0x7f2e225a2590), release&lowbar;capability(0x7f2e32364570), release&lowbar;capability(0x7f2e362354e0), release&lowbar;capability(0x7f2e23dd6b80), release&lowbar;capability(0x7f2e1c706a80), release&lowbar;capability(0x7f2e21ec8d70), release&lowbar;capability(0x7f2e3043f2b0), release&lowbar;capability(0x7f2e36bf30f0), release&lowbar;capability(0x7f2e33a4c310), release&lowbar;capability(0x7f2e22539f70), release&lowbar;capability(0x7f2e1bc293f0), release&lowbar;capability(0x7f2e29c6aab0), release&lowbar;capability(0x7f2e19a5b3f0), release&lowbar;capability(0x7f2e146d55c0), release&lowbar;capability(0x7f2e41a6c9b0), release&lowbar;capability(0x7f2e36f4be90), release&lowbar;capability(0x7f2e1be60ea0), release&lowbar;capability(0x7f2e30e44230), release&lowbar;capability(0x7f2e29cd26f0), release&lowbar;capability(0x7f2e3aa8f620), release&lowbar;capability(0x7f2e43f22a80), release&lowbar;capability(0x7f2e30e1a340), release&lowbar;capability(0x7f2e23210e00), release&lowbar;capability(0x7f2e362dd850), release&lowbar;capability(0x7f2e1419e870), release&lowbar;capability(0x7f2e357b9190), release&lowbar;capability(0x7f2e188a1db0), release&lowbar;capability(0x7f2e24904870), release&lowbar;capability(0x7f2e285802c0), release&lowbar;capability(0x7f2e3ad5aaf0), release&lowbar;capability(0x7f2e3376b4b0), release&lowbar;capability(0x7f2e370f0cf0), release&lowbar;capability(0x7f2e30c0b190), release&lowbar;capability(0x7f2e2a6b19b0), release&lowbar;capability(0x7f2e0800d400), release&lowbar;capability(0x7f2e3ab4d970), release&lowbar;capability(0x7f2e26d2f6e0), release&lowbar;capability(0x7f2e1d2c8ee0), release&lowbar;capability(0x7f2e08464dc0), release&lowbar;capability(0x7f2e1c59bad0), release&lowbar;capability(0x7f2e38a10780), release&lowbar;capability(0x7f2e140630e0), release&lowbar;capability(0x7f2e19761ab0), release&lowbar;capability(0x7f2e2ab62300), release&lowbar;capability(0x7f2e42e83a00), release&lowbar;capability(0x7f2e24183ce0), release&lowbar;capability(0x7f2e3a6c7a70), release&lowbar;capability(0x7f2e11f18160), release&lowbar;capability(0x7f2e1446d350), release&lowbar;capability(0x7f2e19a7a130), release&lowbar;capability(0x7f2e297bb1f0), release&lowbar;capability(0x7f2e31e48d50), release&lowbar;capability(0x7f2e395e1ab0), release&lowbar;capability(0x7f2e403c7b60), release&lowbar;capability(0x7f2e31040130), release&lowbar;capability(0x7f2e222337d0), release&lowbar;capability(0x7f2e1b6798d0), release&lowbar;capability(0x7f2e33027ca0), release&lowbar;capability(0x7f2e36fe4e50), release&lowbar;capability(0x7f2e3840b640), release&lowbar;capability(0x7f2e23929ad0), release&lowbar;capability(0x7f2e28ce4a80), release&lowbar;capability(0x7f2e31267f10), release&lowbar;capability(0x7f2e35bea300), release&lowbar;capability(0x7f2e1e8aafa0)&rsqb;&rsqb;
explicit
reverse&lowbar;lock(
    xref:UniqueLock.adoc[UniqueLock]& &lowbar;lock,
    MutexType const& mutex,
    char const* &lowbar;guardname,
    char const* &lowbar;file,
    int &lowbar;line);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;lock*
| Lock to temporarily release&period;
| *mutex*
| Original mutex, passed back for thread&hyphen;safety analysis&period;
| *&lowbar;guardname*
| Name of the guard variable being reversed&period;
| *&lowbar;file*
| Source file of the caller&period;
| *&lowbar;line*
| Source line of the caller&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
