On Thu, 2007-12-20 at 16:14 -0500, Mathieu Bouchard wrote:
This is still way too much, but it's too complicated to get pd to support interrupting its own calculations unless all externals are compiled with C++ exception support, and even then, it's tricky because you can't directly add exception support to libc itself or whatever else.
How do the ruby (irb) and python interactive interpreters handle this? Both python's "while 1:" and ruby's "while(1)" can be safely interrupted with ctrl-c with the interpreter still running. Would it be necessary to implement the measures you suggest above in order to implement something like this for Pd or dd - ctrl-c stops message processing?
Jamie