[Patches] [ python-Patches-711835 ] Removing unnecessary lock operations

SourceForge.net noreply@sourceforge.net
Sun, 30 Mar 2003 14:11:14 -0800


Patches item #711835, was opened at 2003-03-29 11:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=711835&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Mihai Ibanescu (misa)
>Assigned to: Nobody/Anonymous (nobody)
Summary: Removing unnecessary lock operations

Initial Comment:
PyThread_acquire_lock can be further optimized to do
less locking on the global lock mutex.

Original patch location:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=86281

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

>Comment By: Tim Peters (tim_one)
Date: 2003-03-30 17:11

Message:
Logged In: YES 
user_id=31435

Looks fine to me too.  Since Python switched to using 
semaphores on Linux for 2.3, it's unclear that there's a 
system that uses the condvar code anymore.  How will this 
get tested?

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

Comment By: Martin v. Löwis (loewis)
Date: 2003-03-30 11:49

Message:
Logged In: YES 
user_id=21627

This looks reasonable to me, but I may be missing something.

Tim, can you see a problem with that code?

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

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