[#absl-RegisterCondVarTracer] = xref:absl.adoc[absl]::RegisterCondVarTracer :relfileprefix: ../ :mrdocs: Registers a hook for `CondVar` tracing. == Synopsis Declared in `<absl/synchronization/mutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void RegisterCondVarTracer(void(* fn)(char const*, void const*)); ---- == Description This is thread‐safe, but only a single tracer can be registered. == Parameters [cols="1,4"] |=== | Name| Description | *fn* | Callback invoked with an event name and an opaque `CondVar` handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#