absl::Mutex::AssertNotHeld

Asserts that this thread does not hold this Mutex in any mode.

Synopsis

Declared in <absl/synchronization/mutex.h>

void
AssertNotHeld() const;

Description

Intended only as a debugging aid; it may report an error or return immediately.