Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`internet`.`_signals`.`_ChildSignalHandling``

class documentation

`class _ChildSignalHandling: (source)`

View In Hierarchy

Signal handling behavior which supports SIGCHLD for notification about changes to child process state.

Method | `install` | Extend the basic signal handling logic to also support handling SIGCHLD to know when to try to reap child processes.
Method | `uninstall` | If a child waker was created and installed, uninstall it now.
Class Variable | `_addInternalReader` | Undocumented
Class Variable | `_removeInternalReader` | Undocumented
Instance Variable | `_childWaker` | `None` or a reference to the `_SIGCHLDWaker` which is used to properly notice child process termination. This is `None` when this handling behavior is not installed and non-`None` otherwise. This is mostly an unfortunate implementation detail due to ...

def install(self): (source)

Extend the basic signal handling logic to also support handling SIGCHLD to know when to try to reap child processes.

def uninstall(self): (source)

If a child waker was created and installed, uninstall it now.

Since this disables reactor functionality and is only called when the reactor is stopping, it doesn't provide any directly useful functionality, but the cleanup of reactor-related process-global state that it does helps in unit tests involving multiple reactors and is generally just a nice thing.

_addInternalReader: `Callable[[IReadDescriptor], object]` = (source)

Undocumented

_removeInternalReader: `Callable[[IReadDescriptor], object]` = (source)

Undocumented

_childWaker: `Optional[_SIGCHLDWaker]` = (source)

`None` or a reference to the `_SIGCHLDWaker` which is used to properly notice child process termination. This is `None` when this handling behavior is not installed and non-`None` otherwise. This is mostly an unfortunate implementation detail due to `_SIGCHLDWaker` allocating file descriptors as a side-effect of its initializer.