June 10, 2005
11:35 p.m.
reactor.run(installSignalHandlers=False) -------------------------------------------------
As is, this code never runs the "processEnded()" method of MyProt(). If I change the reactor.run() parameter to leave the signal handlers on, it works.
Note that I need to leave the signal handlers turned off because I can't run the reactor in the main thread; Webware needs that.
Register the same SIGCHLD handler twisted does in the main thread, that should work (they need to be reentrancy-safe anyway so the fact it's called from a different thread is fine). Possibly a more general solution could be devised for this, anyone have suggestions?