class documentation
class SynchronousReactorThreads: (source)
A single-threaded implementation of part of the IReactorThreads
interface. This implementation assumes that it will only be invoked from the reactor thread, so it calls functions synchronously rather than trying to schedule them to run in the reactor thread. It is used in conjunction with SynchronousThreadPool
to make the tests which are not directly for thread-related behavior deterministic.
Method | call |
Call f(*a, **kw) in this thread which should also be the reactor thread. |