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`.`win32eventreactor`.`_ThreadedWin32EventsMixin``

class documentation

`class _ThreadedWin32EventsMixin: (source)`

Known subclasses: `twisted.internet.iocpreactor.reactor.IOCPReactor`

Implements interfaces: `twisted.internet.interfaces.IReactorWin32Events`

View In Hierarchy

This mixin implements `IReactorWin32Events` for another reactor by running a `Win32Reactor` in a separate thread and dispatching work to it.

Method | `addEvent` | No summary
Method | `removeEvent` | No summary
Method | `_makeHelperReactor` | Create and (in a new thread) start a `Win32Reactor` instance to use for the implementation of `IReactorWin32Events`.
Method | `_unmakeHelperReactor` | Stop and discard the reactor started by `_makeHelperReactor`.
Instance Variable | `_reactor` | The `Win32Reactor` running in the other thread. This is `None` until it is actually needed.
Instance Variable | `_reactorThread` | The `threading.Thread` which is running the `Win32Reactor`. This is `None` until it is actually needed.

def addEvent(self, event, fd, action): (source)
from `twisted.internet.interfaces.IReactorWin32Events`

See Also
`IReactorWin32Events`

def removeEvent(self, event): (source)
from `twisted.internet.interfaces.IReactorWin32Events`

See Also
`IReactorWin32Events`

def _makeHelperReactor(self): (source)

Create and (in a new thread) start a `Win32Reactor` instance to use for the implementation of `IReactorWin32Events`.

def _unmakeHelperReactor(self): (source)

Stop and discard the reactor started by `_makeHelperReactor`.

_reactor = (source)

The `Win32Reactor` running in the other thread. This is `None` until it is actually needed.

_reactorThread = (source)

The `threading.Thread` which is running the `Win32Reactor`. This is `None` until it is actually needed.