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

skip at pobox.com skip at pobox.com
Wed Sep 12 17:38:47 CEST 2007


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



More information about the Python-Dev mailing list