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

SourceForge.net noreply at sourceforge.net
Wed Sep 1 17:10:48 CEST 2004


Patches item #1010677, was opened at 2004-08-17 04:08
Message generated for change (Comment added) made by zilche
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: Johan Dahlin (zilche)
Date: 2004-09-01 07: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-24 14: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 05: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