Der Mouse

Brad Parker brad at heeltoe.com
Sat Apr 30 12:50:06 CDT 2005


der Mouse wrote:
>>>> http://bsd.slashdot.org/article.pl?sid=05/04/29/149249&tid=185&tid=7
>>> Yes, that's me.
>> Is there anything that describes "timer sockets" (PF_TIMER).  I've
>> never seen these before and was wondering what problem they solved.
>
>Briefly, they provide a file-descriptor interface to the timer
>facilities underlying setitimer(ITIMER_REAL) and SIGALRM.

Does this allow one to interrupt a pending select with a little more
grace?  (as opposed to using short timeouts or a local udp socket bound
to the loopback, two less-than-elegant solutions to waking up select)

humm.  I guess they would also allow you to have multiple timers, and 
you can tell which one fired by the fd...

is that right?

-brad


More information about the cctalk mailing list