absl::SetMutexDeadlockDetectionMode

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

Synopsis

Declared in <absl/synchronization/mutex.h>

void
SetMutexDeadlockDetectionMode(OnDeadlockCycle mode);

Parameters

NameDescription
modeHow detected lock-ordering cycles should be reported.