Why does std::sleep_for(std::chrono::hours::max()) return immediately on linux?
Channel:
Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=eSAhV4N-LPU
Why does std::sleep_for(std::chrono::hours::max()) return immediately on linux?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/1792454/sonofagun)sonofagun
(stackoverflow.com/users/6752050/273k)273K
A special thanks goes out to the (https://stackoverflow.com/questions/77794791/why-does-stdsleep-forstdchronohoursmax-return-immediately-on-linux)Stackexchange community
I wish you all a wonderful day! Stay safe :)
c++ linux multithreading c++-chrono compiler-bug
Other Videos By Peter Schneider
Tags:
c++
linux
multithreading
c++-chrono
compiler-bug