On Fri, Mar 25, 2005 at 01:57:41PM -0500, Russ Cox wrote: > > Eric Van Hensbergen write for Inferno, I see that he's making > > use of addclock0link(), which makes sense. This seems to be > > overkill for my needs though. I'm not sure the resolution of the > > timer on the ZT5512 blades, but mine have a minimum resolution > > of 250ms, which means that they'd be strobed twice in their > > timeout period. > > the plan 9 addclock0link has an extra argument > that lets you specify how many milliseconds should go by > between calls to the function you register. > > russ Oh -- I didn't see this -- the only one I found was defined in portfns.h as: void addclock0link(void (*)(void)); I must be missing something -- I don't see code for that in the kernel either. If I'm missing something, I guess this would be ideal rather than a kproc. --Devon