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:
@@ -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)();
|
||||
|
||||
Reference in New Issue
Block a user