[Stackless] Wikipedia query

Simon Pickles sipickles at googlemail.com
Tue May 12 17:30:56 CEST 2009


Hello all,

I was intrigued by this entry in the Python Wikipedia entry:

> Stackless Python <http://en.wikipedia.org/wiki/Stackless_Python> is a 
> significant fork of CPython that implements microthreads 
> <http://en.wikipedia.org/wiki/Microthread>; it does not use the C 
> memory stack. CPython uses a GIL 
> <http://en.wikipedia.org/wiki/Global_Interpreter_Lock> to allow only 
> one thread to execute at a time while the Stackless Python threads are 
> independent of the OS and can run concurrently.
Stackless python does not rely on the GIL?

Is this correct? I thought the Stackless scheduler was subject to the 
same GIL restrictions as any other python thread.

Thanks

Simon





More information about the Stackless mailing list