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