Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.

This commit is contained in:
Ulrich Drepper 2009-11-30 08:24:59 -08:00
parent ebb92a491f
commit 02a52de084
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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