absl::RegisterCondVarTracer

Registers a hook for CondVar tracing.

Synopsis

Declared in <absl/synchronization/mutex.h>

void
RegisterCondVarTracer(void(* fn)(char const*, void const*));

Description

This is thread-safe, but only a single tracer can be registered.

Parameters

NameDescription
fnCallback invoked with an event name and an opaque CondVar handle.