[Patches] [ python-Patches-525532 ] Add support for POSIX semaphores
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 04 Mar 2002 06:50:34 -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: 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.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=525532&group_id=5470