diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-11-30 08:24:59 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-30 08:24:59 -0800 |
commit | 02a52de084cfbd7d664ddbd00266de790c7faa98 (patch) | |
tree | c44b0e4a16819e243bf8471dbf673b08c1d51c57 | |
parent | ebb92a491fadc4e588ba090c5b27185d442ffd5d (diff) | |
download | glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.zip glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.tar.gz glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.tar.bz2 |
Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/sched.h | 11 |
2 files changed, 12 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2009-11-30 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_IDLE and + SCHED_RESET_ON_FORK. + 2009-11-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h index 18269a9..8ba9eed 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 |