Possible modes of operation for the deadlock detector in debug mode.
Declared in <absl/synchronization/mutex.h>
enum class OnDeadlockCycle : int;
| 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. |
| Name | Description |
|---|---|
SetMutexDeadlockDetectionMode | Enables or disables global detection of potential deadlocks due to Mutex lock ordering inversions. |