Defining _POSIX_SEMAPHORES for cygwin

Robert Collins
Mon Mar 25 14:00:00 GMT 2002

> -----Original Message-----
> From: Christopher Faylor [] 
> Sent: Tuesday, March 26, 2002 3:49 AM
> To:
> Subject: Re: Defining _POSIX_SEMAPHORES for cygwin
> On Mon, Mar 25, 2002 at 08:31:59AM -0500, Gerald S. Williams wrote:
> >I would like to define _POSIX_SEMAPHORES in sys/features.h
> >for Cygwin. According to POSIX, you define this when you support the 
> >semaphore API.
> >
> >We are now 99% of the way to having Python thread support
> >for Cygwin. I got POSIX semaphore support added to Python's 
> source base 
> >and tested it with Cygwin. Now we just have to indicate that 
> Cygwin has 
> >them.
> >
> >The API is there and appears to work correctly. Is there
> >any issue with making this change?
> If you think it works and Robert concurs, then we should add it.

I've no objection, I haven't really bothered with the 'we have foo'
defines, I was hoping to have the cross process objections done a lot

So yes, patches gratefully received. Please have a chat to Jason Tishler
as well though, as he has a recurring problem with threaded pythons,
that have prevented us having such a package for ages, and I've not been
able to fix the bug (well I haven't actually had time to look at it
since January).


More information about the Cygwin-developers mailing list