Changes between and of Initial VersionVersion 1Ticket #6738


Ignore:
Timestamp:
09/11/13 11:38:42 (8 years ago)
Author:
Jean-Paul Calderone
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6738

    • Property Summary changed from Expose SIGCHLD handler installation as public API to Support IReactorProcess when the reactor is run in a non-main thread
  • Ticket #6738 – Description

    initial v1  
    1 3rd party users of Twisted who run the reactor in a thread, in particular Crochet, may wish to still have the SIGCHLD handler installed so process exits are noticed. Unfortunately the API for this is private.
     13rd-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.
     2
     3Solutions might be:
     4
     5  * expose the SIGCHLD handler so that 3rd-party code can install it
     6  * do something other than handle SIGCHLD when running in a thread (poll `wait()` on some interval when child processes exist, for example)