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

Enables or disables global detection of potential deadlocks due to `Mutex` lock ordering inversions&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetMutexDeadlockDetectionMode(xref:absl/OnDeadlockCycle.adoc[OnDeadlockCycle] mode);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mode*
| How detected lock&hyphen;ordering cycles should be reported&period;
|===


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