[Patches] [ python-Patches-525532 ] Add support for POSIX semaphores
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 16 Mar 2002 08:42:36 -0800
Patches item #525532, was opened at 2002-03-04 14: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: Martin v. Löwis (loewis)
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: Michael Hudson (mwh)
Date: 2002-03-16 16:42
Message:
Logged In: YES
user_id=6656
Does this belong in the 2.2.x group?
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2002-03-15 08: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