python threading

Paul Rubin phr-n2002a at nightsong.com
Tue Apr 16 15:26:12 EDT 2002


Alex Martelli <aleax at aleax.it> writes:
> Yes, but a GUI thread can't do that either -- nor can a network one;
> they must be ready for user-input events and netword-data-arriving
> events too.  The problem is how to seamlessly merge waiting for
> THOSE kinds of things and for Python-thread-stuff kinds...

What's really needed is a way to raise events asynchronously in other
threads.  However this seems technically difficult.  There's some
discussion of it in one of the sourceforge bug reports; I don't have
the number handy but the title is something like "add a way to make
the program completely exit" (i.e. by killing all the threads).



More information about the Python-list mailing list