absl::OnDeadlockCycle

Possible modes of operation for the deadlock detector in debug mode.

Synopsis

Declared in <absl/synchronization/mutex.h>

enum class OnDeadlockCycle : int;

Members

NameDescription
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

NameDescription
SetMutexDeadlockDetectionModeEnables or disables global detection of potential deadlocks due to Mutex lock ordering inversions.