Blocks until the condition is true or until the simulated clock is advanced to or beyond the wakeup time (or both).
Synopsis
Declared in <absl/time/simulated_clock.h>
virtual
bool
AwaitWithDeadline(
absl::Mutex* mu,
absl::Condition const& cond,
absl::Time deadline) override;
Return Value
true iff cond holds when returning.
Parameters
Name |
Description |
mu |
The mutex guarding |
cond |
The condition to wait on. |
deadline |
The simulated time by which to stop waiting. |
Created with MrDocs