LWN.net Logo

High- (but not too high-) resolution timeouts

High- (but not too high-) resolution timeouts

Posted Sep 4, 2008 18:34 UTC (Thu) by dcoutts (guest, #5387)
In reply to: High- (but not too high-) resolution timeouts by arjan
Parent article: High- (but not too high-) resolution timeouts

How about people who need the really high accuracy use the timerfd() and insert that timer into their poll/epoll/select set and then give no timeout when they wait on that event set. That way, the highly accurate timers can be used while letting all the ordinary stuff use the existing mechanism that saves power by waking everyone up at the same time etc.


(Log in to post comments)

High- (but not too high-) resolution timeouts

Posted Sep 4, 2008 21:09 UTC (Thu) by quotemstr (subscriber, #45331) [Link]

Good idea! Why not post this to linux-kernel?

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