This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Add support for POSIX semaphores
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: loewis Nosy List: gsw_agere, loewis, mwh, tim.peters
Priority: normal Keywords: patch

Created on 2002-03-04 14:50 by gsw_agere, last changed 2022-04-10 16:05 by admin. This issue is now closed.

File name Uploaded Description Edit
thread_pthread.h.sem.diff-c gsw_agere, 2002-03-04 14:50 thread_pthread.h with semaphore support
Messages (5)
msg39138 - (view) Author: Gerald S. Williams (gsw_agere) Date: 2002-03-04 14:50
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.
msg39139 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-03-15 08:54
Logged In: YES 

Can someone on a pthreads platform please continue with 
this?  I'm +1 on it via eyeballing.
msg39140 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002-03-16 16:42
Logged In: YES 

Does this belong in the 2.2.x group?
msg39141 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-03-16 17:36
Logged In: YES 

Changed Group to 2.3.
msg39142 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-03-17 09:54
Logged In: YES 

Thanks for the patch; committed as thread_pthread.h 2.39.
Date User Action Args
2022-04-10 16:05:03adminsetgithub: 36197
2002-03-04 14:50:34gsw_agerecreate