Stackless/microthreads merge news

Christian Tismer tismer at tismer.com
Mon Mar 13 10:20:12 EST 2000


Will Ware wrote:
> 
> Konrad Hinsen (hinsen at cnrs-orleans.fr) wrote:
> > Do I understand correctly that microthreads are handled completely in
> > the Python interpreter, with no OS support at all? In that case,
> > there is no way to profit from multiple processors, or even to let
> > other threads continue when one is waiting for I/O etc.
...
> I had intended microthreads to be useful for behavioral simulators
> where performance wasn't terribly critical. It's my understanding that
> Python's support for OS threads is quite good, but you probably already
> know a lot more about that than I do.

Right. Microthreads are lightweight, running inside of real
threads. What Konrad needs are real threads. He could go with
some mixture, but I can't see any profit from using microthreads
in this case. Especially multiple processors cannot make sense
without real threads.

cheers - chris

-- 
Christian Tismer             :^)   <mailto:tismer at appliedbiometrics.com>
Applied Biometrics GmbH      :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     we're tired of banana software - shipped green, ripens at home




More information about the Python-list mailing list