| 241 | #ifdef BOOST_THREAD_USES_CHRONO |
| 242 | template <class Rep, class Period> |
| 243 | void sleep_for(const chrono::duration<Rep, Period>& d) |
| 244 | { |
| 245 | interruptible_wait(detail::win32::invalid_handle_value, detail::internal_platform_clock::now() + detail::platform_duration(d)); |
| 246 | } |
| 247 | |
| 248 | template <class Duration> |
| 249 | void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t) |