LWN.net Logo

oversleeping

oversleeping

Posted Feb 24, 2012 22:57 UTC (Fri) by giraffedata (subscriber, #1954)
In reply to: Are we really chasing the right issue? by anselm
Parent article: Short sleeps suffering from slack

I think it's more basic than the documented function of sleep(). In a non-realtime timeshared OS, the OS can take several seconds from you any time it wants, whether you did a sleep() or not. If you get to run at all, you should be grateful.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds