Unlocks this Mutex and blocks until cond is true and the Mutex can be reacquired, then reacquires it in the same mode.

Synopsis

Declared in <absl/synchronization/mutex.h>

void
Await(Condition const& cond);

Parameters

Name

Description

cond

The condition to wait for.

Created with MrDocs