[Twisted-Python] CPU intensive threads

Nathaniel Haggard natester at gmail.com
Tue Jul 26 19:44:59 EDT 2005

Is there anything twisted can do about CPU intensive threads?

When I run a CPU intensive method via threads.deferToThread it takes
all the CPU away and renders the twisted process unresponsive.  The
perspective broker for example will not make any connections until the
CPU intensive methods finish.

Is there a way to set the priority of the main part of twisted so that
it can run CPU intensive threads and still service connections.


More information about the Twisted-Python mailing list