Export (0) Print
Expand All

future::wait_until Method

Blocks the current thread until the associated asynchronous state is ready or until after a specified time point.

template<class Clock, class Duration>
   future_status wait_until(
      const chrono::time_point<Clock, Duration>& Abs_time) const;

Abs_time

A chrono::time_point object that specifies a time after which the thread can unblock.

A future_status that indicates the reason for returning.

An associated asynchronous state is ready only if its asynchronous provider has stored a return value or stored an exception.

Header: future

Namespace: std

Show:
© 2015 Microsoft