[#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(0x7f9500841810), release&lowbar;capability(0x7f9525cc70f0), release&lowbar;capability(0x7f950db72400), release&lowbar;capability(0x7f951f578920), release&lowbar;capability(0x7f950c188f70), release&lowbar;capability(0x7f950e1b3ce0), release&lowbar;capability(0x7f9522ff73b0), release&lowbar;capability(0x7f951c782d80), release&lowbar;capability(0x7f951414ef40), release&lowbar;capability(0x7f950a044aa0), release&lowbar;capability(0x7f9502087bd0), release&lowbar;capability(0x7f9515b29eb0), release&lowbar;capability(0x7f9527a09ae0), release&lowbar;capability(0x7f951c794ef0), release&lowbar;capability(0x7f95220d61f0), release&lowbar;capability(0x7f9503cc7d70), release&lowbar;capability(0x7f9527b0c2f0), release&lowbar;capability(0x7f950db4ca70), release&lowbar;capability(0x7f9525eeeff0), release&lowbar;capability(0x7f9521a99f00), release&lowbar;capability(0x7f951f7c2320), release&lowbar;capability(0x7f9527a704b0), release&lowbar;capability(0x7f9500b1be70), release&lowbar;capability(0x7f950f3911b0), release&lowbar;capability(0x7f950345ff50), release&lowbar;capability(0x7f950833b7b0), release&lowbar;capability(0x7f95039cdec0), release&lowbar;capability(0x7f9513c15ca0), release&lowbar;capability(0x7f950fa3c410), release&lowbar;capability(0x7f94f8958ce0), release&lowbar;capability(0x7f951d592ef0), release&lowbar;capability(0x7f951715ca50), release&lowbar;capability(0x7f95088b2830), release&lowbar;capability(0x7f951e622b00), release&lowbar;capability(0x7f950f8a81b0), release&lowbar;capability(0x7f94f0888470), release&lowbar;capability(0x7f950e102570), release&lowbar;capability(0x7f9527a515d0), release&lowbar;capability(0x7f95104b27a0), release&lowbar;capability(0x7f950bbe4140), release&lowbar;capability(0x7f9517b76c70), release&lowbar;capability(0x7f951ea728c0), release&lowbar;capability(0x7f950a2031a0), release&lowbar;capability(0x7f9527c3c620), release&lowbar;capability(0x7f9513f89060), release&lowbar;capability(0x7f9523f11480), release&lowbar;capability(0x7f9516a0f8a0), release&lowbar;capability(0x7f9503672fe0), release&lowbar;capability(0x7f9513c3d8c0), release&lowbar;capability(0x7f9526266370), release&lowbar;capability(0x7f9523c2f060), release&lowbar;capability(0x7f951d2a2f00), release&lowbar;capability(0x7f952678df30), release&lowbar;capability(0x7f950165f7a0), release&lowbar;capability(0x7f95082c7eb0), release&lowbar;capability(0x7f9523c2a660), release&lowbar;capability(0x7f9509278bc0), release&lowbar;capability(0x7f951c5ad6a0), release&lowbar;capability(0x7f950c2ec7f0), release&lowbar;capability(0x7f951250ad90), release&lowbar;capability(0x7f9508140670), release&lowbar;capability(0x7f95066ece20), release&lowbar;capability(0x7f9510f52e60), release&lowbar;capability(0x7f9501a15860), release&lowbar;capability(0x7f9508b80100), release&lowbar;capability(0x7f952165f6c0), release&lowbar;capability(0x7f9517b0e960), release&lowbar;capability(0x7f9502e53b10), release&lowbar;capability(0x7f950da85810), release&lowbar;capability(0x7f94fc853680), release&lowbar;capability(0x7f94f8a88060), release&lowbar;capability(0x7f951fe81460), release&lowbar;capability(0x7f94f066d470), release&lowbar;capability(0x7f952503c9b0), release&lowbar;capability(0x7f950697e5d0), release&lowbar;capability(0x7f9515b871e0), release&lowbar;capability(0x7f9503850d10), release&lowbar;capability(0x7f951494fea0), release&lowbar;capability(0x7f95157b9650)&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]#
