Global Locking

Michael Hudson mwh at python.net
Tue Aug 6 10:30:56 EDT 2002


bokr at oz.net (Bengt Richter) writes:

> On Mon, 05 Aug 2002 17:15:22 -0400, Tim Peters <tim.one at comcast.net> wrote:
> 
> >[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.
> >
> Is there a log that records development decisions like that, other than dev
> mail archives? 

Not really.

> I.e., something that summarises and concentrates the issues
> and rationale, like PEPs? Or is it done mainly with notes in CVS?

I think the intent is that nowadays this is done in PEPs.  But there
were no PEPs back in the 1.4 days.

Cheers,
M.

-- 
6. Symmetry is a complexity-reducing concept (co-routines include
   subroutines); seek it everywhere.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html



More information about the Python-list mailing list