diff options
author | Andreas Schwab <schwab@redhat.com> | 2009-08-24 10:15:51 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2009-08-24 10:15:51 +0200 |
commit | 255acd161cc2d7752a4e79234dcba5d929c3e0a4 (patch) | |
tree | 94c1d111cce2137ee948ff0e9d735f7a3643ef78 /nptl/sysdeps | |
parent | 593eff0f9e5bed517e0a8434507ee9f3f4d45b87 (diff) | |
parent | a0e25a886a9128b280b4c05bc9c6dd12377ea868 (diff) | |
download | glibc-255acd161cc2d7752a4e79234dcba5d929c3e0a4.tar glibc-255acd161cc2d7752a4e79234dcba5d929c3e0a4.tar.gz glibc-255acd161cc2d7752a4e79234dcba5d929c3e0a4.tar.bz2 glibc-255acd161cc2d7752a4e79234dcba5d929c3e0a4.zip |
Merge commit 'origin/master' into fedora/master
Conflicts:
sysdeps/powerpc/powerpc64/____longjmp_chk.S
sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h index e23ad29e3e..e4f002a5c8 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 |