[Twisted-Python] reactor.stop() and thread and wxPython problem

Reza Lotun reza at getpeer.com
Fri Jan 16 09:23:01 EST 2009


>> * Have the reactor run in a seperate thread from wx (making sure to
>> use reactor.run(installSignalHandlers=False))
>> * Spawn threads from wx->Twisted in the proper way: use
>> reactor.callFromThread(reactor.callInThread(someCall))

A small point, but my code snippet example should have been:

reactor.callFromThread(reactor.callInThread, someCall)

Cheers,
Reza

-- 
Reza Lotun
Senior Software Engineer
Peer Technologies Limited
reza at getpeer.com




More information about the Twisted-Python mailing list