[PD-dev] sys_idlehook

Tim Blechmann TimBlechmann at gmx.net
Thu Nov 10 19:14:19 CET 2005


> Surely if there were a procedure in place for using the idlehook,
> this could be made to work:
> e.g. any external could check to see if idlehook was taken already.
> If so, copy the existing idlehook into its local space and replace
> the idlehook with its own. When the new idlehook is called, it should
> first call the old one and then its own before returning the 'or' of
> the two results.
> On deallocating an idlehook, the external's deconstructor should
> replace the old idlehook. The last idlehook to be removed would be
> replaced with NULL.

right, but there are no guaranties that assure this.
one badly written external could ruin the whole system. 

imo, this is something, that should be done by the kernel.

t

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-dev mailing list