[Python-Dev] Removing the GIL (Me, not you!)

Aahz aahz at pythoncraft.com
Tue Sep 11 15:18:36 CEST 2007


On Tue, Sep 11, 2007, Justin Tulloss wrote:
>
> I had a whole long email about exactly what I was doing, but I think
> I'll get to the point instead. I'm trying to implement a python
> concurrency API and would like to use cpython to do it. To do that, I
> would like to remove the GIL.

You should review the work Greg Stein did to remove the GIL in 1.5.2;
although the interpreter core has changed considerably since then, I
believe the basic principles of the GIL are the same.  
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer
http://www.lysator.liu.se/c/ten-commandments.html


More information about the Python-Dev mailing list