(original) (raw)
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.
What do you think?
Prateek
On Sep 12, 2007, at 9:08 PM, skip@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 ofthe normal Python distribution.� For uncommon ones this could use a lockuntil someone gets around to writing the necessary couple lines ofassembler.Skip\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_Python-Dev mailing list