python - pq: Fix potential deadlock. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - pq: Fix potential deadlock.
Date
Msg-id 20050820231514.774CF1126200@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix potential deadlock. Transaction.hooks was not protected by a lock. I think
this caused odd deadlocks from time to time by sneaking in a hook to the list
after it had been processed for finishing, which, of course, would be deadly to
Transaction.wait().

Modified Files:
--------------
    pq/src:
        transam.py (r1.3 -> r1.4)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/transam.py.diff?r1=1.3&r2=1.4)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - web: Exclude /static from the sync.
Next
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - pq: Add classifiers and fix copyright dates.