[#absl-Mutex-EnableInvariantDebugging] = xref:absl.adoc[absl]::xref:absl/Mutex.adoc[Mutex]::EnableInvariantDebugging :relfileprefix: ../../ :mrdocs: Registers an invariant predicate to be checked for this `Mutex` when invariant debugging has been enabled globally. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void EnableInvariantDebugging( void(* invariant)(void*), void* arg); ---- == Parameters [cols="1,4"] |=== | Name| Description | *invariant* | The predicate to invoke, or null to disable checking. | *arg* | The argument passed to `invariant`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#