Unlocks this Mutex and blocks until cond is true or the timeout expires, then reacquires it in the same mode.
Declared in <absl/synchronization/mutex.h>
bool
AwaitWithTimeout(
Condition const& cond,
absl::Duration timeout);
true if cond is true on return.
| Name | Description |
|---|---|
| cond | The condition to wait for. |
| timeout | The maximum time to wait. |