[Twisted-Python] Twisted with wxPython in a thread

Gabriel Rossetti gabriel.rossetti at arimaz.com
Tue Aug 24 17:04:46 EDT 2010

On 08/24/2010 04:26 PM, Itamar Turner-Trauring wrote:
> On Tue, 2010-08-24 at 15:22 +0200, Gabriel Rossetti wrote:
>> Ok, so you put Twisted in a thread? I read in several posts that this
>> posed problems, have you had any drawbacks?
> reactor.spawnProcess won't notice processes have exited on posix
> platforms (though you can fix this by installing your own SIGCHLD
> handler in the main thread that does callFromThread on
> t.i.process.reapAllProcesses).
Ok, thanks for the info, I'll look into this if I go for the 
twisted-in-a-thread version, although I may no longer be using 
reactor.spawnProcess myself but it is probably being used somewhere by 
Twisted so it's beter to do that.

More information about the Twisted-Python mailing list