Defining _POSIX_SEMAPHORES for cygwin

Christopher Faylor
Mon Mar 25 08:48:00 GMT 2002

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.

We'll need a patch, of course: .


More information about the Cygwin-developers mailing list