twisted.web.test.test_wsgi.SynchronousThreadPool
class documentationtwisted.web.test.test_wsgi
(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. |