[Glibc-bsd-commits] r4699 - trunk/glibc-ports/kfreebsd/fbtl/bits

Petr Salinger ps-guest at alioth.debian.org
Mon Jul 8 17:16:36 UTC 2013


Author: ps-guest
Date: 2013-07-08 17:16:36 +0000 (Mon, 08 Jul 2013)
New Revision: 4699

Modified:
   trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h
Log:
update posix_opt.h 


Modified: trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h
===================================================================
--- trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h	2013-07-08 17:15:49 UTC (rev 4698)
+++ trunk/glibc-ports/kfreebsd/fbtl/bits/posix_opt.h	2013-07-08 17:16:36 UTC (rev 4699)
@@ -60,6 +60,7 @@
 
 /* Filenames are not silently truncated.  */
 #define	_POSIX_NO_TRUNC	1
+
 /* X/Open realtime support is only partially available.  */
 #define _XOPEN_REALTIME	-1
 
@@ -91,11 +92,25 @@
 /* We support user-defined stacks.  */
 #define _POSIX_THREAD_ATTR_STACKADDR	200809L
 
+/* We do not support priority inheritence.  */
+#define _POSIX_THREAD_PRIO_INHERIT      -1
+
+/* We do not support priority protection */
+#define _POSIX_THREAD_PRIO_PROTECT      -1
+
+#ifdef __USE_XOPEN2K8
+/* We do not support priority inheritence for robust mutexes.  */
+# define _POSIX_THREAD_ROBUST_PRIO_INHERIT	-1
+
+/* We do not support priority protection for robust mutexes.  */
+# define _POSIX_THREAD_ROBUST_PRIO_PROTECT      -1
+#endif
+
 /* We support POSIX.1b semaphores, but only the non-shared form for now.  */
 #define _POSIX_SEMAPHORES	200809L
 
-/* Real-time signals are not available.  */
-#define _POSIX_REALTIME_SIGNALS	-1
+/* Real-time signals are available.  */
+#define _POSIX_REALTIME_SIGNALS	200809L
 
 /* We support asynchronous I/O.  */
 #define _POSIX_ASYNCHRONOUS_IO	200809L
@@ -155,11 +170,11 @@
 /* The monotonic clock is available.  */
 #define _POSIX_MONOTONIC_CLOCK	200809L
 
-/* The clock selection interfaces are not available.  */
-#define _POSIX_CLOCK_SELECTION	-1
+/* The clock selection interfaces are available.  */
+#define _POSIX_CLOCK_SELECTION	200809L
 
-/* Advisory information interfaces are not available.  */
-#define _POSIX_ADVISORY_INFO	-1
+/* Advisory information interfaces are available.  */
+#define _POSIX_ADVISORY_INFO	200809L
 
 /* IPv6 support is available.  */
 #define _POSIX_IPV6	200809L
@@ -183,8 +198,4 @@
 /* Typed memory objects are not available.  */
 #define _POSIX_TYPED_MEMORY_OBJECTS	-1
 
-/* No support for priority inheritance or protection.  */
-#define _POSIX_THREAD_PRIO_INHERIT	-1
-#define _POSIX_THREAD_PRIO_PROTECT	-1
-
 #endif /* bits/posix_opt.h */




More information about the Glibc-bsd-commits mailing list