[Twisted-Python] Foreign event loop friendly reactor

Bob Ippolito bob at redivi.com
Sun Apr 17 06:51:34 EDT 2005


On Apr 17, 2005, at 6:11 AM, Darran Edmundson wrote:

> Bob Ippolito wrote:
>> In response to the "wxpython issues" thread I had suggested that we 
>> should have a thread-using reactor that integrates with foreign event 
>> loops, so I wrote one and committed it 
>> (twisted.internet.threadedselectreactor).
>
> I wonder if anyone could be tempted into whipping up a minimal wx
> example with this new reactor?  We've got 5 days left to finish a 
> mountain
> of code for a conference demo in San Francisco - a robust wx/twisted
> app is just part of this.  We're currently spawning a thread from 
> within
> wx.  It works ... but it sounds like we'd be better off with things 
> reversed
> as above.

Yeah, done.  Check doc/core/examples/threadedselect (I moved the Cocoa 
example in there as well)

-bob





More information about the Twisted-Python mailing list