2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-15 01:22:08 +00:00

Fixed timed_join on Windows when the system clock jumps.

This commit is contained in:
Austin Beer
2017-09-21 11:27:36 -06:00
parent 8f51d9c4a7
commit 24fd5953c9
2 changed files with 14 additions and 10 deletions

View File

@@ -459,12 +459,6 @@ namespace boost
}
}
#if defined BOOST_THREAD_USES_DATETIME
bool thread::timed_join(boost::system_time const& wait_until)
{
return do_try_join_for(boost::detail::get_milliseconds_until(wait_until));
}
#endif
bool thread::do_try_join_for_noexcept(uintmax_t milli, bool& res)
{
detail::thread_data_ptr local_thread_info=(get_thread_info)();