[IronPython] IronPython cs Cpython wrt GIL

Curt Hagenlocher curt at hagenlocher.org
Thu Oct 14 00:30:53 CEST 2004


Curt Hagenlocher <curt at hagenlocher.org> wrote:

> What's the granularity of Python's lock?  Per-statement?

And before anyone answers, here's how I remember the situation,
pre-2.0.

The interpreter lock was held per-Python statement.  BUT, many
of the internal library calls were hardcoded to release the
lock before executing a C library call and then reacquire the
lock after the call was done.

Am I close?

--
Curt Hagenlocher
curt at hagenlocher.org



More information about the Ironpython-users mailing list