Registers an invariant predicate to be checked for this Mutex when invariant debugging has been enabled globally.
Synopsis
Declared in <absl/synchronization/mutex.h>
void
EnableInvariantDebugging(
void(* invariant)(void*),
void* arg);
Parameters
Name |
Description |
invariant |
The predicate to invoke, or null to disable checking. |
arg |
The argument passed to |
Created with MrDocs