[Twisted-Python] Re: Taking a look at pending deferToThread actions

Itamar Shtull-Trauring itamar at itamarst.org
Tue Jun 5 23:20:54 MDT 2007


On Tue, 2007-06-05 at 11:02 -0500, Allen Bierbaum wrote:

> - Has anyone extended threadpool to allow code to remove queued
> functions from the pending queue?

How about just having the functions themselves check to see if they
really should run their intended task? (Being careful about
thread-safety, of course).

Why are you using threads, btw?





More information about the Twisted-Python mailing list