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, [EMAIL PROTECTED] 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@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/ surekap%40gmail.com

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to