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

SourceForge.net noreply at sourceforge.net
Tue Sep 28 16:25:32 CEST 2004


Bugs item #1011380, was opened at 2004-08-18 13:07
Message generated for change (Comment added) made by gustavo
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 noops 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


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

>Comment By: Gustavo J. A. M. Carneiro (gustavo)
Date: 2004-09-28 15:25

Message:
Logged In: YES 
user_id=908

Can someone please take a look at this patch?  It's fairly
simple, but very important.

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

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