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

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 14 05:55:30 CEST 2007


Jason Orendorff wrote:

The clever bit is that SpiderMonkey's per-object locking does not require a context switch or even an atomic instruction, in the usual case where an object is not shared among threads.

How does it tell whether an object is shared between threads? That sounds like the really clever bit to me.

-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list