id summary reporter owner description type status milestone component version severity resolution keywords cc
7665 this_thread::sleep_for no longer uses steady_clock in thread ewdevel@… viboes "In 1.51 sleep_for slept for set time no matter what [unless it received interrupt].
In 1.52 sleep_for behaves like normal sleep [system_clock, which introduces problems witch changing time while sleeping] if in new thread.
How to reproduce:
Compile and run the test.
Change time [date -s 10:00:00].
Main thread will exit sleep_for after 10 seconds.
Boost::thread will end after some other time.
In correct situation [ex. boost 1.51] they should end simultaneously.
I think it's introduced in revision 80450.
Example program demonstrating this behavior is attached." Bugs closed Boost 1.60.0 thread Boost 1.52.0 Regression fixed