[Twisted-Python] twisted robot ...

Itamar Shtull-Trauring itamar at itamarst.org
Mon Apr 25 11:03:12 EDT 2005

On Mon, 2005-04-25 at 16:15 +0200, Antoine Pitrou wrote:

> It may be better, by the way, to run wx in the main thread and Twisted
> in the secondary thread. Some toolkits supported by wx may not like the
> fact that they aren't called from the main thread - I'm not sure such a
> limitation exists but I'm not sure of the contrary either. Twisted,
> OTOH, does not seem to care at all.

Twisted does care about this for signal handling. If Twisted is run in a
thread it will not be able to do shutdown based on signals or run
processes correctly (though if you install your own signal handlers that
forward info to twisted it can be made to work).

More information about the Twisted-Python mailing list