Stackless Platform Independence?

Christian Tismer tismer at tismer.com
Tue Mar 5 04:26:30 EST 2002


Paul Rubin wrote:

> Christian Tismer <tismer at tismer.com> writes:
> 
>>Makes pretty much sense to me.
>>Stackless can provide light-weight threads to all platforms.
>>There is no need to use OS threads unless you need it
>>for I/O.
>>
> 
> Do you think it's feasible to modify Python to use non-blocking i/o
> everywhere, and then simulate blocking in Stackless?  I.e. when a
> microthread does an i/o operation, Python would start the operation
> asynchronously, and the Stackless microthread scheduler would block
> the microthread til the i/o operation actually completes (detected
> using select or SIGIO).


This is roughly how I understood Frederic's idea.

-- 
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     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
      where do you want to jump today?   http://www.stackless.com/






More information about the Python-list mailing list