Atomically releases mu and blocks until signaled or the timeout expires, then reacquires it.
Declared in <absl/synchronization/mutex.h>
bool
WaitWithTimeout(
Mutex* mu,
absl::Duration timeout);
true if the timeout expired without this CondVar being signaled.
| Name | Description |
|---|---|
| mu | The mutex held by the calling thread. |
| timeout | The maximum time to wait. |