Hi Timothy,

On Fri, Jan 13, 2012 at 18:58, Timothy Baldridge <[email protected]> wrote:
> Is the jitted code littered with cooperative "release-lock" instructions?

Yes: every compiled loop ends in (about 4-5) assembler instructions
that decrement the GIL counter and jump to some
release-and-reacquire-the-GIL code if it ends up negative.  We don't
do it every loop, as it would have a performance impact.


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to