From Cppreference
|
template< class Clock, class Duration >
std::future_status wait_until( const std::chrono::time_point<Clock,Duration>& timeout_time );
|
|
|
|
|
Waits for the result to become available. Blocks until specified timeout_time has been reached or the result becomes available, whichever comes first. Returns value identifies the state of the result. May block for longer than until timeout_time has been reached.
[edit] Parameters
timeout_time
|
-
|
maximum time point to block until
|
[edit] Return value
[edit] Exceptions
(none)
[edit] Example
[edit] See also
|
|
waits for the result to become available (public member function)
|
|
|
waits for the result, returns if it is not available for the specified timeout duration (public member function)
|