absl::Condition::Condition

Constructs a Condition that returns the result of (*func)(arg).

Synopsis

Declared in <absl/synchronization/mutex.h>

Condition(
    bool(* func)(void*),
    void* arg);

Parameters

NameDescription
funcThe predicate function to evaluate.
argThe argument passed to func.