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

Asserts that this thread does not hold this `Mutex` in any mode&period;

== Synopsis

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

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

== Description

Intended only as a debugging aid&semi; it may report an error or return immediately&period;


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