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

Prateek Sureka surekap at gmail.com
Thu Sep 13 06:30:43 CEST 2007


I was reading GvR's post on this and came up with a theory on how to  
tackle the problem.

I ended up putting it in a blog post.

http://www.brainwavelive.com/blog/index.php?/archives/12-Suggestion- 
for-removing-the-Python-Global-Interpreter-Lock.html
What do you think?

Prateek

On Sep 12, 2007, at 9:08 PM, skip at pobox.com wrote:

>
>     Martin> Now we are getting into details: you do NOT have to  
> lock an
>     Martin> object to modify its reference count. An atomic
>     Martin> increment/decrement operation is enough.
>
> Implemented in asm I suspect?  For common CPUs this could just be  
> part of
> the normal Python distribution.  For uncommon ones this could use a  
> lock
> until someone gets around to writing the necessary couple lines of
> assembler.
>
> Skip
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ 
> surekap%40gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20070913/f65a8897/attachment.htm 


More information about the Python-Dev mailing list