sleep_until Function

Blocks the calling thread at least until the specified time.

template<class Clock, class Duration>
    void sleep_until(const chrono::time_point<Clock, Duration>& Abs_time);
void sleep_until(const xtime *Abs_time);

Abs_time

Represents a point in time.

This function does not throw any exceptions.

Header: thread

Namespace: std::this_thread

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft