Blocks until cond is true or the deadline passes, then atomically acquires this Mutex in write (exclusive) mode.
Synopsis
Declared in <absl/synchronization/mutex.h>
bool
WriterLockWhenWithDeadline(
Condition const& cond,
absl::Time deadline);
Return Value
true if cond is true on return.
Parameters
Name |
Description |
cond |
The condition to wait for. |
deadline |
The absolute time after which to stop waiting. |
Created with MrDocs