[Python-ideas] Remove GIL with CAS instructions?

Adam Olsen rhamph at gmail.com
Wed Oct 21 06:09:01 CEST 2009

On Tue, Oct 20, 2009 at 18:22, Sturla Molden <sturla at molden.no> wrote:
> Adam Olsen skrev:
>> This'd show you the minimum amount of overhead, but only for a trivial
>> case: single threaded.
> As far as I know, the single-threaded case is the reason for keeping the
> GIL.

No, single-threaded is the reason for keeping the GIL *as an option*.
The complete lack of any other viable option (in CPython) is the
reason it's the only option.

Adam Olsen, aka Rhamphoryncus

More information about the Python-ideas mailing list