#6738 enhancement new
Support IReactorProcess when the reactor is run in a non-main thread
|Reported by:||itamar||Owned by:|
Description (last modified by exarkun)
3rd-party users of Twisted who run the reactor in a thread, in particular Crochet, may wish to still have support for child processes. The current POSIX implementation is limited by the fact that signals and threads mix poorly.
Solutions might be:
- expose the SIGCHLD handler so that 3rd-party code can install it
- do something other than handle SIGCHLD when running in a thread (poll wait() on some interval when child processes exist, for example)