#
# If someone has already set a wakeup fd, we don't want to
# disturb it. This is an issue for twisted, which does its
- # SIGCHILD processing in response to its own wakeup fd being
+ # SIGCHLD processing in response to its own wakeup fd being
# written to. As long as the wakeup fd is registered on the IOLoop,
# the loop will still wake up and everything should work.
old_wakeup_fd = None
The callback takes one argument, the return code of the process.
- This method uses a ``SIGCHILD`` handler, which is a global setting
+ This method uses a ``SIGCHLD`` handler, which is a global setting
and may conflict if you have other libraries trying to handle the
same signal. If you are using more than one ``IOLoop`` it may
be necessary to call `Subprocess.initialize` first to designate
@classmethod
def initialize(cls, io_loop=None):
- """Initializes the ``SIGCHILD`` handler.
+ """Initializes the ``SIGCHLD`` handler.
The signal handler is run on an `.IOLoop` to avoid locking issues.
Note that the `.IOLoop` used for signal handling need not be the
@classmethod
def uninitialize(cls):
- """Removes the ``SIGCHILD`` handler."""
+ """Removes the ``SIGCHLD`` handler."""
if not cls._initialized:
return
signal.signal(signal.SIGCHLD, cls._old_sigchld)