[#BloombergLP-bslmt-RecursiveMutex-unlock]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/RecursiveMutex.adoc[RecursiveMutex]::unlock
:relfileprefix: ../../../
:mrdocs:

Release a lock on this object that was previously acquired through a call to `lock`, or a successful call to `tryLock`&period; To fully release the lock, a thread must invoke `unlock` the same number of times it invoked `lock` and `tryLock`&period; The behavior is undefined unless the calling thread currently owns the lock on this recursive mutex&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;recursivemutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
unlock();
----


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