阻止调用线程至少直到指定的时间。
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
表示时间点。
备注
此功能不引发任何异常。
要求
**标头:**线程
**命名空间:**std::this_thread