[PATCH] libstdc++: 60241.cc: tolerate slightly shorter aggregate sleep

Alexandre Oliva oliva@adacore.com
Thu Jun 23 00:15:24 GMT 2022


On Jun 22, 2022, Sebastian Huber <sebastian.huber@embedded-brains.de> wrote:

> The clock_nanosleep() uses the coarse resolution

Thanks for looking into this.  So, is it missing a rounding-up to ensure
the sleep time is >= the requested time, or is it even more elaborate
than that?

-- 
Alexandre Oliva, happy hacker                https://FSFLA.org/blogs/lxo/
   Free Software Activist                       GNU Toolchain Engineer
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about <https://stallmansupport.org>


More information about the Libstdc++ mailing list