Why not event-driven packages in other than the main thread?

Cliff Wells cliff at develix.com
Thu Sep 14 12:22:54 CEST 2006

On Thu, 2006-09-14 at 11:13 +0200, Tor Erik wrote:
> Hi,
> I've developed an application were I've used Tkinter for the GUI.
> When I ran the GUI in another thread than the main, it kept locking
> up.
> I experienced similar problems with Twisted.
> Both of these tools are event-based, so I guess that is the root of the 
> problem...
> But could anyone tell me why running these in a thread other than the 
> main one doesn't work?

They probably use signals (Twisted I'm sure does) and it's documented
that signals don't work with threads:




More information about the Python-list mailing list