class documentation

class SynchronousThreadPool: (source)

View In Hierarchy

A single-threaded implementation of part of the ThreadPool interface. This implementation calls functions synchronously rather than running them in a thread pool. It is used to make the tests which are not directly for thread-related behavior deterministic.

Method callInThread Call f(*a, **kw) in this thread rather than scheduling it to be called in a thread.
Class Variable _log Undocumented
def callInThread(self, f, *a, **kw): (source)

Call f(*a, **kw) in this thread rather than scheduling it to be called in a thread.

Undocumented