]>
Commit | Line | Data |
---|---|---|
6796bc80 UD |
1 | #ifndef _SCHED_H |
2 | #include <posix/sched.h> | |
bdbf022d | 3 | |
31341567 | 4 | #ifndef _ISOMAC |
bdbf022d | 5 | /* Now define the internal interfaces. */ |
fe559c5e | 6 | extern int __sched_setparam (__pid_t __pid, |
a784e502 | 7 | const struct sched_param *__param); |
fd331b11 | 8 | libc_hidden_proto (__sched_setparam) |
c19559b0 | 9 | extern int __sched_getparam (__pid_t __pid, struct sched_param *__param); |
fe559c5e | 10 | extern int __sched_setscheduler (__pid_t __pid, int __policy, |
a784e502 | 11 | const struct sched_param *__param); |
37ba7d66 | 12 | libc_hidden_proto (__sched_setscheduler) |
c19559b0 UD |
13 | extern int __sched_getscheduler (__pid_t __pid); |
14 | extern int __sched_yield (void); | |
bd7d6b40 | 15 | libc_hidden_proto (__sched_yield) |
c19559b0 | 16 | extern int __sched_get_priority_max (int __algorithm); |
fa872e1b | 17 | libc_hidden_proto (__sched_get_priority_max) |
c19559b0 | 18 | extern int __sched_get_priority_min (int __algorithm); |
fa872e1b | 19 | libc_hidden_proto (__sched_get_priority_min) |
c19559b0 | 20 | extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t); |
bdbf022d | 21 | |
37d33038 | 22 | /* These are Linux specific. */ |
fe559c5e | 23 | extern int __clone (int (*__fn) (void *__arg), void *__child_stack, |
2a76f7ef | 24 | int __flags, void *__arg, ...); |
9ff72da4 | 25 | libc_hidden_proto (__clone) |
37d33038 | 26 | extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base, |
4f6f0a8f | 27 | size_t __child_stack_size, int __flags, void *__arg, ...); |
9ff72da4 | 28 | libc_hidden_proto (__clone2) |
6796bc80 | 29 | #endif |
31341567 | 30 | #endif |