Cygwin POSIX semaphores patch

Jason Tishler jason@tishler.net
Wed Mar 27 05:10:00 GMT 2002


[Please CC me on replies since I am not subscribed to this list.]

Since Cygwin supports POSIX semaphores, features.h should indicated this
fact.  The attached patch has been discussed on cygwin-developers and
cygwin-patches and the Cygwin community agrees with it.

If interested, see the following for details:

    http://cygwin.com/cgi-bin/htsearch?method=and&format=builtin-long&sort=time&config=htdig&exclude=&words=_POSIX_SEMAPHORES&restrict=%2Fml%2Fcygwin-developers%2F2002-03%2F
    http://cygwin.com/ml/cygwin-patches/2002-q1/msg00363.html

Thanks,
Jason
-------------- next part --------------
Index: features.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/features.h,v
retrieving revision 1.3
diff -u -p -r1.3 features.h
--- features.h	2001/04/12 00:05:57	1.3
+++ features.h	2002/03/27 12:27:43
@@ -86,6 +86,7 @@ extern "C" {
 # define _POSIX_THREAD_SAFE_FUNCTIONS            1
 # define _POSIX_THREAD_PRIORITY_SCHEDULING       1
 # define _POSIX_THREAD_ATTR_STACKSIZE            1
+# define _POSIX_SEMAPHORES                       1
 #endif
 
 #ifdef __cplusplus
-------------- next part --------------
Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>

	* libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.


More information about the Newlib mailing list