[#absl-ReleasableMutexLock]
= xref:absl.adoc[absl]::ReleasableMutexLock
:relfileprefix: ../
:mrdocs:

RAII helper like `MutexLock` that also permits releasing the mutex before destruction&period;

== Synopsis

Declared in `&lt;absl&sol;synchronization&sol;mutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class ReleasableMutexLock;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/ReleasableMutexLock/2constructor-0e.adoc[`ReleasableMutexLock`]         [.small]#[constructor]#
| Constructors
| xref:absl/ReleasableMutexLock/2destructor.adoc[`&#126;ReleasableMutexLock`] [.small]#[destructor]#
| Releases the held mutex if it has not already been released&period;
| xref:absl/ReleasableMutexLock/Release.adoc[`Release`] 
| Releases the held mutex before destruction&period; May be called at most once&period;
|===



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