Paul Davis:
On Fri, 2005-07-15 at 17:18 -0400, Lee Revell wrote:
On Fri, 2005-07-15 at 23:10 +0200, Kjetil Svalastog Matheussen wrote:
> I wonder why /dev/rtc isn't used more than it is now.

Because sleep/wakeup, poll, etc are much nicer interfaces than /dev/rtc.


any sane programmer will use slee/wakeup, poll etc. with /dev/rtc :)


the hairy part is just setting up the interrupt freq on the RTC.


the big problem with the RTC is the restriction to power-of-2 HZ
settings. not very useful for a lot of things.


This is easely solved by setting up a server-system. The clients
can request an individually frequency to be woken up by, and
the server will set the interrupt freq high enough to satisfy
all current connected clients.



--

Reply via email to