Blocks until the notification is notified or a deadline expires.
Synopsis
Declared in <absl/synchronization/notification.h>
bool
WaitForNotificationWithDeadline(absl::Time deadline) const;
Description
Blocks until either the notification's "notified" state is true (which may occur immediately) or the deadline has expired, returning the value of its "notified" state in either case.
Return Value
The value of the "notified" state when the call returns.
Parameters
Name |
Description |
deadline |
The absolute time past which to stop waiting. |
Created with MrDocs