[#absl-ReleasableMutexLock-2constructor-0f]
= xref:absl.adoc[absl]::xref:absl/ReleasableMutexLock.adoc[ReleasableMutexLock]::ReleasableMutexLock
:relfileprefix: ../../
:mrdocs:

Deprecated pointer overload&semi; acquires `&ast;mu` exclusively once `cond` holds&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated(&quot;Use the constructor that takes a reference instead&quot;)&rsqb;&rsqb;
explicit
ReleasableMutexLock(
    xref:absl/Mutex.adoc[Mutex]* mu,
    xref:absl/Condition.adoc[Condition] const& cond);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use the constructor that takes a reference instead. Use of this entity is allowed but discouraged.
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *mu*
| The mutex to lock&semi; must be dereferenceable&period;
| *cond*
| The condition to wait for before locking&period;
|===


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