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/archive%40mail-archive.com

Reply via email to