[Patches] [ python-Patches-525532 ] Add support for POSIX semaphores

noreply@sourceforge.net noreply@sourceforge.net
Fri, 15 Mar 2002 00:54:32 -0800


Patches item #525532, was opened at 2002-03-04 09:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=525532&group_id=5470

Category: Core (C code)
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerald S. Williams (gsw_agere)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add support for POSIX semaphores

Initial Comment:
thread_pthread.h can be modified to use POSIX 
semaphores if available. This is more efficient than 
emulating them with mutexes and condition variables, 
and at least one platform that supports POSIX 
semaphores has a race condition in its condition 
variable support.

The new file would still be supporting POSIX threads, 
although from both <pthread.h> and <semaphore.h>, so 
perhaps ought to be renamed if this patch is accepted.

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

>Comment By: Tim Peters (tim_one)
Date: 2002-03-15 03:54

Message:
Logged In: YES 
user_id=31435

Can someone on a pthreads platform please continue with 
this?  I'm +1 on it via eyeballing.

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

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