_SIGCHLDWaker
can wake up a reactor whenever SIGCHLD
is received.
See Also | twisted.internet._signals |
Method | __init__ | Initialize. |
Method | install | Install the handler necessary to make this waker active. |
Method | uninstall | Remove the handler which makes this waker active. |
Method | doRead | Having woken up the reactor in response to receipt of SIGCHLD , reap the process which exited. |
Inherited from _FDWaker:
Instance Variable | o | The file descriptor for the end of the pipe which can be written to wake up a reactor monitoring this waker. |
Instance Variable | i | The file descriptor which should be monitored in order to be awoken by this waker. |
Class Variable | disconnected | Undocumented |
Instance Variable | reactor | Undocumented |
Instance Variable | fileno | Undocumented |
Method | connectionLost | Close both ends of my pipe. |
Inherited from Logger (via _FDWaker):
Method | logPrefix | Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines. |
Having woken up the reactor in response to receipt of SIGCHLD
, reap the process which exited.
This is called whenever the reactor notices the waker pipe is writeable, which happens soon after any call to the wakeUp
method.