about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-19 05:26:54 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-19 05:26:54 +0000
commitfd82139fa58ef52bc23bff26db26d53356230557 (patch)
tree77d8eccbd981b82ae57baad75fcd5c2b38a545e3
parentee2f68f2946e712b85d7018cc73aeba7950081b8 (diff)
downloadglibc-fd82139fa58ef52bc23bff26db26d53356230557.tar.gz
glibc-fd82139fa58ef52bc23bff26db26d53356230557.tar.xz
glibc-fd82139fa58ef52bc23bff26db26d53356230557.zip
Define _POSIX_THREAD_PRIORITY_SCHEDULING.
-rw-r--r--nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
index 2e2a609625..67a37d01c8 100644
--- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -70,6 +70,9 @@
 #define _POSIX_REENTRANT_FUNCTIONS      1
 #define _POSIX_THREAD_SAFE_FUNCTIONS	200112L
 
+/* We provide priority scheduling for threads.  */
+#define _POSIX_THREAD_PRIORITY_SCHEDULING	200112L
+
 /* We support user-defined stack sizes.  */
 #define _POSIX_THREAD_ATTR_STACKSIZE	200112L
 
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
index 556c5fd873..4bc4eed72a 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
@@ -70,6 +70,9 @@
 #define _POSIX_REENTRANT_FUNCTIONS      1
 #define _POSIX_THREAD_SAFE_FUNCTIONS	200112L
 
+/* We provide priority scheduling for threads.  */
+#define _POSIX_THREAD_PRIORITY_SCHEDULING	200112L
+
 /* We support user-defined stack sizes.  */
 #define _POSIX_THREAD_ATTR_STACKSIZE	200112L