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

Possible modes of operation for the deadlock detector in debug mode&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum class OnDeadlockCycle : int;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `kIgnore` 
| Neither report on nor track cycles in lock ordering&period;
| `kReport` 
| Report lock cycles to stderr when detected&period;
| `kAbort` 
| Report lock cycles to stderr when detected, then abort&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/SetMutexDeadlockDetectionMode.adoc[`SetMutexDeadlockDetectionMode`]
| Enables or disables global detection of potential deadlocks due to `Mutex` lock ordering inversions&period;
|===


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