der Mouse wrote:
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