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