From 2d094b739598d2e1718d3cc4c5af7e95787bd463 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 23 Aug 2009 13:59:41 -0700 Subject: More namespace cleanups. --- nptl/ChangeLog | 4 ++++ nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 88975a7..098ef3b 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2009-08-23 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Clean up namespace. + 2009-08-11 Ulrich Drepper * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Add CFI diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h index f9fa4e5..2550355 100644 --- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h +++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h @@ -85,15 +85,17 @@ /* We support priority inheritence. */ #define _POSIX_THREAD_PRIO_INHERIT 200809L -/* We support priority inheritence for robust mutexes. */ -#define _POSIX_THREAD_ROBUST_PRIO_INHERIT 200809L - /* We support priority protection, though only for non-robust mutexes. */ #define _POSIX_THREAD_PRIO_PROTECT 200809L +#ifdef __USE_XOPEN2K8 +/* We support priority inheritence for robust mutexes. */ +# define _POSIX_THREAD_ROBUST_PRIO_INHERIT 200809L + /* We do not support priority protection for robust mutexes. */ -#define _POSIX_THREAD_ROBUST_PRIO_PROTECT -1 +# define _POSIX_THREAD_ROBUST_PRIO_PROTECT -1 +#endif /* We support POSIX.1b semaphores. */ #define _POSIX_SEMAPHORES 200809L -- cgit v1.1