[Patches] [ python-Patches-1010677 ] thread Module Breaks PyGILState_Ensure()

SourceForge.net noreply at sourceforge.net
Thu Sep 2 00:32:24 CEST 2004


Patches item #1010677, was opened at 2004-08-17 22:08
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1010677&group_id=5470

Category: Modules
Group: Python 2.4
Status: Closed
Resolution: Fixed
Priority: 7
Submitted By: Phil Thompson (philthompson10)
Assigned to: Mark Hammond (mhammond)
Summary: thread Module Breaks PyGILState_Ensure()

Initial Comment:
The thread module creates thread states that 
PyGILState_Ensure() doesn't know about. This means that the 
latter can try to acquire the GIL when it already has it - resulting 
in a deadlock. 

----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2004-09-02 08:32

Message:
Logged In: YES 
user_id=14198

Checked into 2.3 maint branch:
Checking in Lib/test/test_capi.py;
new revision: 1.6.10.1; previous revision: 1.6
Checking in Modules/threadmodule.c;
new revision: 2.56.8.1; previous revision: 2.56


----------------------------------------------------------------------

Comment By: Johan Dahlin (zilche)
Date: 2004-09-02 01:10

Message:
Logged In: YES 
user_id=132216

Can this be backported release23-maint as well? 
PyGTK suffers quite badly from this. 

----------------------------------------------------------------------

Comment By: Mark Hammond (mhammond)
Date: 2004-08-25 08:24

Message:
Logged In: YES 
user_id=14198

Fixed - thanks!

Checking in Modules/threadmodule.c;
new revision: 2.59; previous revision: 2.58
Checking in Lib/test/test_capi.py;
new revision: 1.7; previous revision: 1.6


----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2004-08-24 23:14

Message:
Logged In: YES 
user_id=29957

Boosting to pri 7 for pre-2.4 inclusion.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1010677&group_id=5470


More information about the Patches mailing list