twisted.internet.win32eventreactor._ThreadedWin32EventsMixin(object) class documentationtwisted.internet.win32eventreactor
(View In Hierarchy)
Known subclasses: twisted.internet.iocpreactor.reactor.IOCPReactor, twisted.internet.selectreactor.SelectReactor
Implements interfaces: twisted.internet.interfaces.IReactorWin32Events
This mixin implements IReactorWin32Events
for another reactor by running a Win32Reactor
in a separate thread and dispatching work to it.
| Method | addEvent | |
| Method | removeEvent | |
| Instance Variable | _reactor | The Win32Reactorrunning in the other thread.  This isNoneuntil it is actually needed. | 
| Instance Variable | _reactorThread | The threading.Threadwhich is running theWin32Reactor.
This isNoneuntil it is actually needed. | 
| Method | _unmakeHelperReactor | Stop and discard the reactor started by _makeHelperReactor. | 
| Method | _makeHelperReactor | Create and (in a new thread) start a Win32Reactorinstance to use for the implementation ofIReactorWin32Events. | 
Create and (in a new thread) start a Win32Reactor
instance to use for the implementation of IReactorWin32Events.