When will nanosleep(2) be rewrtten?
When will nanosleep(2) be rewrtten?
Posted Sep 29, 2005 6:31 UTC (Thu) by goaty (guest, #17783)In reply to: When will nanosleep(2) be rewrtten? by tglx
Parent article: A new approach to kernel timers
Ironically I think there will be a handful of applications which assume the old, broken behaviour of nanosleep and will misbehave with the new nanosleep. Last time I checked nanosleep rounded the requested delay up to the next tick and then added another tick for good measure. Actually sleeping the requested amount will undoubtedly expose some application bugs.
Posted Oct 1, 2005 17:43 UTC (Sat)
by renox (guest, #23785)
[Link]
Well given that the tick has changed from 10ms to 1ms to 4ms, I think that the buggy applications must already have been fixed..When will nanosleep(2) be rewrtten?