[PD] [failsafe] to save you when Pd pegs the CPU

Hans-Christoph Steiner hans at eds.org
Wed Nov 15 16:18:35 CET 2006


On Nov 14, 2006, at 3:41 AM, carmen wrote:

> On Mon Nov 13, 2006 at 05:48:38PM -0500, Hans-Christoph Steiner wrote:
>>
>> I was just playing with Alberto Zin's OuterSpace on my poor old  
>> 800 MHz laptop.  When I opened it the first time, it pegged my CPU  
>> and locked me out.  I had to power
>> cycle my machine.  This isn't the first time something like this  
>> has happened to me, so now I did something about it:
>
> brings back memories of loading Twerk's MSP patches on a G3 Mac. im  
> pretty sure id resort to 'force quit'.
>
>>
>> I wrote [failsafe].  When the CPU is pegged, it first tries  
>> turning off the DSP (this could also easily turn off Gem  
>> rendering).  If that fails, it will quit Pd, thus
>> saving the poor machine the hard reset.
>
> sounds like its duplicating much of what the pd watchdog does.  
> although im not sure what the job of the watchdog is, other than  
> kill pd when its using too much cpu or blocked on gui socket  
> transfers. more like some kind of attack dog waiting until the  
> victim is vulnerable..

Yeah, I guess that's what the watchdog is supposed to do, but it  
doesn't work for me at least, and this patch does.  Plus its got the  
advantage of being written in Pd.

.hc

------------------------------------------------------------------------

                   ¡El pueblo unido jamás será vencido!






More information about the Pd-list mailing list