std::this_thread::sleep_for( std::chrono::milliseconds( 100 ) ); could result in arbitrary long execution time in case of a system time change (seconds, hours, years...).
looks quite dangerous and still not fixed beacuse of the abi break needed for the proper fix.
47
u/frymode Apr 19 '21
This one, for example - https://developercommunity.visualstudio.com/t/bogus-stdthis-threadsleep-for-implementation/58530
looks quite dangerous and still not fixed beacuse of the abi break needed for the proper fix.