[Twisted-Python] Migrate Asyncore to Twisted

Itamar Shtull-Trauring itamar at itamarst.org
Thu Mar 15 08:00:20 EDT 2007


On Wed, 2007-03-14 at 23:38 -0700, jian wu wrote:
> Hi Sean,
> 
> > Even with asyncore I don't need two threads per connection. The
> > asyncore loop handles the send and receive just fine.
> 
> I think that I had better correcting my term as "4 types of threads" or
> "4 types of threading tasks" since Twisted has a thread pool, so you
> don't need start thread by your python code, you just submit your
> task to Twisted Thread Pool, it'll schedule and run for you.

Twisted doesn't need threads for this at all. Nor does asyncore.





More information about the Twisted-Python mailing list