[Python-Dev] ActiveState & fork & Perl

Guido van Rossum guido at CNRI.Reston.VA.US
Tue Jun 8 03:34:59 CEST 1999


> Perhaps Christian's stackless Python would enable green threads...

This has been suggested before...  While this seems possible at first, 
all blocking I/O calls would have to be redone to pass control to the
thread scheduler, before this would be useful -- a huge task!

I believe SunOS 4.x's LWP (light-weight processes) library used this
method.  It was a drop-in replacement for the standard libc,
containing changed versions of all system calls.  I recall that there
were one or two missing, which of course upset the posix module
because it references almost *all* system calls...

--Guido van Rossum (home page: http://www.python.org/~guido/)




More information about the Python-Dev mailing list