Stackless Platform Independence?

Paul Rubin phr-n2002a at nightsong.com
Mon Mar 4 15:31:14 EST 2002


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).




More information about the Python-list mailing list