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:
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user