twisted.internet.interfaces.IReactorThreads(IReactorFromThreads, IReactorInThreads)
interface documentationtwisted.internet.interfaces
View Source
(View In Hierarchy)
Known implementations: twisted.internet.base.ReactorBase
Dispatch methods to be run in threads.
Internally, this should use a thread pool and dispatch methods to them.
Method | getThreadPool | Return the threadpool used by IReactorInThreads.callInThread .
Create it first if necessary. |
Method | suggestThreadPoolSize | Suggest the size of the internal threadpool used to dispatch functions
passed to IReactorInThreads.callInThread . |
Inherited from IReactorInThreads:
Method | callInThread | Run the given callable object in a separate thread, with the given arguments and keyword arguments. |
Inherited from IReactorInThreads:
Method | callInThread | Run the given callable object in a separate thread, with the given arguments and keyword arguments. |
Return the threadpool used by IReactorInThreads.callInThread
.
Create it first if necessary.
Returns | (type: twisted.python.threadpool.ThreadPool ) |
Suggest the size of the internal threadpool used to dispatch functions
passed to IReactorInThreads.callInThread
.