[Twisted-Python] Weird thread count

soso duke99 at email.ro
Wed Oct 22 15:19:15 MDT 2003


Yep, that's why I thought is weird. 
Anyway, I double-checked. I restarted the computer and checked with Spy++ too.
Still 3 threads...

Also, if you remove the "reactor.connectTCP..." line it behaves ok, only 1 thread.

> On Wed, 22 Oct 2003 23:28:31 +0300
> soso <duke99 at email.ro> wrote:
> 
> > The following client code creates 3 threads on startup, even if there
> > is no server to connect to. And I have no clue why. I'm running on
> > Win2k and that's what taskmanager says. Any ideas?
> 
> Presumably those are internal Python threads. Try running just Python
> and see how many threads there are.
> 
> Also note that Twisted doesn't use threads for networking), so number of
> networking connections is irrelevant.
> 
> -- 
> Itamar Shtull-Trauring    http://itamarst.org/
> Available for Python & Twisted consulting
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 





______________________________________________________________________
Do you want a free e-mail for life ? Get it at http://www.email.ro/





More information about the Twisted-Python mailing list