[Stackless] Wikipedia query
stephan at transvection.de
Tue May 12 20:57:31 CEST 2009
I'd say that the Wikipedia entry is wrong and should be corrected by a
Stackless Python extends CPython with the concept of Tasklets, which
actually don't run concurrently at all. They are cooperativly scheduled.
Simon Pickles wrote:
> 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.
> Stackless mailing list
> Stackless at stackless.com
More information about the Stackless