[Python-Dev] Re: [Stackless] comments on PEP 219

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 15 Mar 2001 13:31:00 +1300 (NZDT)


Christian Tismer <tismer@tismer.com>:

> You can *create* a thread using a callback.

Okay, that's not so bad. (An earlier message seemed to
be saying that you couldn't even do that.)

But what about GUIs such as Tkinter which have a
main loop in C that keeps control for the life of
the program? You'll never get back to the base-level
interpreter, not even between callbacks, so how do 
the uthreads get scheduled?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+