Global Locking

Tim Peters tim.one at comcast.net
Mon Aug 5 17:15:22 EDT 2002


[Daniel Parks]
> ...
> Therefore, I am thinking about altering python to have a series of finer
> grained locks. Has anyone already done this?

About 6-7 years ago Greg Stein did it for Python 1.4.  Do a Google search on

    free threading python

Note that current CVS Python implements the GIL via POSIX semaphores (when
available) rather than with pthread condvars.  That may (or may not) work
better for you.





More information about the Python-list mailing list