31 Aug 2005 31 Aug '05
On Tue, Aug 30, 2005 at 09:17:10PM -0700, Brian Granger wrote:
I have a few questions about the default implementation of deferToThread.
- Does deferToThread use a thread pool by default? If not, how can
I enable this?
Yes. You can adjust the threadpool size using reactor.suggestThreadPoolSize:
- Which thread are the callbacks and errbacks of the deferred
returned by deferToThread run in?
The main thread, i.e. the reactor thread.