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

Abs_time

Represents a point in time.

This function does not throw any exceptions.

Header: thread

Namespace: std::this_thread

Show:
© 2014 Microsoft