[#absl-OnDeadlockCycle] = xref:absl.adoc[absl]::OnDeadlockCycle :relfileprefix: ../ :mrdocs: Possible modes of operation for the deadlock detector in debug mode. == Synopsis Declared in `<absl/synchronization/mutex.h>` [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. | `kReport` | Report lock cycles to stderr when detected. | `kAbort` | Report lock cycles to stderr when detected, then abort. |=== == 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#