From 23754b33c3d9e4dfcc59498c3795edfc30706e56 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 13 Sep 2006 22:09:27 +0000 Subject: 2006-09-13 Joel Sherrill * libc/include/pthread.h: Add pthread barriers, rwlocks, and spinlocks. Change const to _CONST and prefix parameter names with an underscore. * libc/include/sys/types.h: Add id and attribute types for barriers, wrlocks, and spinlocks. * libc/include/sys/features.h: Enable barriers, wrlocks, and spinlocks for RTEMS. --- newlib/libc/include/sys/features.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'newlib/libc/include/sys/features.h') diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index 6754f1e9d..7dc948668 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -45,6 +45,9 @@ extern "C" { #define _POSIX_SHARED_MEMORY_OBJECTS 1 #define _POSIX_SYNCHRONIZED_IO 1 #define _POSIX_TIMERS 1 +#define _POSIX_BARRIERS 200112L +#define _POSIX_READER_WRITER_LOCKS 200112L +#define _POSIX_SPIN_LOCKS 200112L /* In P1003.1b but defined by drafts at least as early as P1003.1c/D10 */ -- cgit v1.2.3