Blocks until cond is true and the Mutex can be acquired, then atomically acquires it exclusively.
Synopsis
Declared in <absl/synchronization/mutex.h>
void
LockWhen(Condition const& cond);
Parameters
Name |
Description |
cond |
The condition to wait for. |
Created with MrDocs