[Twisted-Python] Re: GUI responsiveness

Jasper jasper at peak.org
Wed Sep 14 19:35:07 EDT 2005


Bob Ippolito wrote:

>
> On Sep 14, 2005, at 5:15 PM, Jasper wrote:
>
>> Bob Ippolito wrote:
>>
>> Hmmm.  Perhaps I glanced over threadedselectreactor too quickly,  
>> since all the discussion seemed to be about wxPython (which I'm not  
>> using).  However, casting about through the archives, I haven't  
>> really found a good description of threadedselectreactor...
>>
>> What's it actually do?  Just allow you to integrate 2 loops in a  
>> slightly nicer fashion?  I integrated my pygame+pyui loop with  
>> twisted's default reactor using 5 simple lines of code, so I'm not  
>> seeing much room for gain there...  Does threadedselectreactor do  
>> more, like address GUI responsiveness?
>>
>> Or more to the point, is there a concise overview somewhere?
>
>
> http://bob.pythonmac.org/archives/2005/04/17/twisted-and-foreign- 
> event-loops/
> http://svn.twistedmatrix.com/cvs/trunk/doc/core/examples/threadedselect/
>
> -bob
>
>
Heh, I'd seen both of those... Neither really suggest any reason to use 
threadedselectreactor beyond being able to integrate foreign loops.

I guess I'm just not seeing what's so great about threadedselectreactor, 
except perhaps that it's better than wxreactor.

-Jasper




More information about the Twisted-Python mailing list