Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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);


Represents a point in time.

This function does not throw any exceptions.

Header: thread

Namespace: std::this_thread

© 2015 Microsoft