Actually the watchdog itself is even higher priority than Pd. However, I tried to set it up so that the watchdog refuses to let the GUI get locked out (even by someone lower priority than Pd) so that you can always "quit" from the GUI. So Pd "pings" the GUI, and relays its returning pings to the watchdog.
cheers Miller
On Tue, Sep 09, 2003 at 04:34:18PM +0200, guenter geiger wrote:
On Mon, 8 Sep 2003, Miller Puckette wrote:
The best way to avoid this is to omit the "-rt" flag (the watchdog is there to prevent an RT process from locking out everyone else if it goes in an infinite loop.) I'd like to know how to prevent its getting worried when tk goes away on legitimate business (like open panels) but don't know how to do it and still be sure it's impossible to crash the machine...
Wouldn't it be possible to do the watchdog pinging from a separate low priority thread instead of the GUI ?
Guenter
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev