t.i.p._SIGCHLDWaker(_FDWaker) : class documentation

Part of twisted.internet.posixbase View Source View In Hierarchy

_SIGCHLDWaker can wake up a reactor whenever SIGCHLD is received.
See Alsotwisted.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 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.
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.
def __init__(self, reactor): (source)
Initialize.
def install(self): (source)
Install the handler necessary to make this waker active.
def uninstall(self): (source)
Remove the handler which makes this waker active.
def doRead(self): (source)
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.

API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.