[#absl-RegisterCondVarTracer]
= xref:absl.adoc[absl]::RegisterCondVarTracer
:relfileprefix: ../
:mrdocs:

Registers a hook for `CondVar` tracing&period;

== Synopsis

Declared in `&lt;absl&sol;synchronization&sol;mutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
RegisterCondVarTracer(void(* fn)(char const*, void const*));
----

== Description

This is thread&hyphen;safe, but only a single tracer can be registered&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fn*
| Callback invoked with an event name and an opaque `CondVar` handle&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
