[PD-dev] pd's watchdog

Mathieu Bouchard matju at artengine.ca
Tue May 17 21:26:42 CEST 2005


On Tue, 17 May 2005, Tim Blechmann wrote:

> are there any objections to remove the watchdog _process_ in favor of a 
> watchdog _thread_? debugging is pain if the watchdog kills a program 
> that i stopped with gdb ...

Hmm, you could make the watchdog send a SIGSTOP to the main thread and 
offer the user to either stop the DSP (and do SIGCONT), start GDB, or quit 
PD... ? Maybe a 4th option would be to "pause (inhibit) all t_clocks (and 
do SIGCONT)" ?)

For that, though, the watchdog would have to have a Tcl connection to the 
client process just like the main thread has.

  ,-o---------o---------o---------o-. ,---. irc.freenode.net #dataflow |
  | The Diagram is the Program (TM) | | ,-o-------------o--------------o-.
  `-o--------------o--------------o-' | | Mathieu Bouchard (Montréal QC) |
    | téléphone: +1.514.383.3801  `---' `-o-- http://artengine.ca/matju -'


More information about the Pd-dev mailing list