[ python-Bugs-1011380 ] Make GIL acquire/release functions idempotent if PyEval_Init

SourceForge.net noreply at sourceforge.net
Wed Aug 18 14:07:16 CEST 2004


Bugs item #1011380, was opened at 2004-08-18 13:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1011380&group_id=5470

Category: Threads
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Gustavo J. A. M. Carneiro (gustavo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make GIL acquire/release functions idempotent if PyEval_Init

Initial Comment:
The patch makes GIL acquire/release functions
idempotent if PyEval_InitThreads hasn't been called.

Motivation for this change can be found in my post to
python-dev, here: 

http://mail.python.org/pipermail/python-dev/2004-August/047870.html
http://mail.python.org/pipermail/python-dev/2004-August/047871.html

Some feedback here:
http://mail.python.org/pipermail/python-dev/2004-August/047949.html


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

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


More information about the Python-bugs-list mailing list