about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-11-30 08:24:59 -0800
committerUlrich Drepper <drepper@redhat.com>2009-11-30 08:24:59 -0800
commit02a52de084cfbd7d664ddbd00266de790c7faa98 (patch)
treec44b0e4a16819e243bf8471dbf673b08c1d51c57 /sysdeps/unix
parentebb92a491fadc4e588ba090c5b27185d442ffd5d (diff)
downloadglibc-02a52de084cfbd7d664ddbd00266de790c7faa98.tar.gz
glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.tar.xz
glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.zip
Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index 18269a99b9..8ba9eed6f0 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/sysdeps/unix/sysv/linux/bits/sched.h
@@ -27,11 +27,14 @@
 
 
 /* Scheduling algorithms.  */
-#define SCHED_OTHER	0
-#define SCHED_FIFO	1
-#define SCHED_RR	2
+#define SCHED_OTHER		0
+#define SCHED_FIFO		1
+#define SCHED_RR		2
 #ifdef __USE_GNU
-# define SCHED_BATCH	3
+# define SCHED_BATCH		3
+# define SCHED_IDLE		5
+
+# define SCHED_RESET_ON_FORK	0x40000000
 #endif
 
 #ifdef __USE_MISC