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 /sysdeps | |
parent | ebb92a491fadc4e588ba090c5b27185d442ffd5d (diff) | |
download | glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.tar glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.tar.gz glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.tar.bz2 glibc-02a52de084cfbd7d664ddbd00266de790c7faa98.zip |
Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/sched.h | 11 |
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 |