1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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> 2009-11-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code

View File

@ -27,11 +27,14 @@
/* Scheduling algorithms. */ /* Scheduling algorithms. */
#define SCHED_OTHER 0 #define SCHED_OTHER 0
#define SCHED_FIFO 1 #define SCHED_FIFO 1
#define SCHED_RR 2 #define SCHED_RR 2
#ifdef __USE_GNU #ifdef __USE_GNU
# define SCHED_BATCH 3 # define SCHED_BATCH 3
# define SCHED_IDLE 5
# define SCHED_RESET_ON_FORK 0x40000000
#endif #endif
#ifdef __USE_MISC #ifdef __USE_MISC