This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RTEMS Adding UNIX98 mutex attr type support


Hi,

Simple patch to enable the UNIX98 mutex attribute
type for RTEMS.  Everything else just ripples from there
and the implementation is in RTEMS.

209-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>

   * libc/include/sys/features.h: Enable UNIX98 mutex attributes
   for RTEMS.

--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985


Index: libc/include/sys/features.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/features.h,v
retrieving revision 1.18
diff -u -r1.18 features.h
--- libc/include/sys/features.h	17 Jun 2009 16:47:02 -0000	1.18
+++ libc/include/sys/features.h	6 Jul 2009 14:48:20 -0000
@@ -73,6 +73,9 @@
 #define _POSIX_INTERRUPT_CONTROL		1
 #define _POSIX_ADVISORY_INFO			1
 
+/* UNIX98 added some new pthread mutex attributes */
+#define _UNIX98_THREAD_MUTEX_ATTRIBUTES         1
+
 #endif
 
 /* XMK loosely adheres to POSIX -- 1003.1 */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]