]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/sched.h
Remove pre-ISO C support
[thirdparty/glibc.git] / include / sched.h
CommitLineData
6796bc80
UD
1#ifndef _SCHED_H
2#include <posix/sched.h>
bdbf022d
UD
3
4/* Now define the internal interfaces. */
fe559c5e 5extern int __sched_setparam (__pid_t __pid,
a784e502 6 const struct sched_param *__param);
c19559b0 7extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
fe559c5e 8extern int __sched_setscheduler (__pid_t __pid, int __policy,
a784e502 9 const struct sched_param *__param);
37ba7d66 10libc_hidden_proto (__sched_setscheduler)
c19559b0
UD
11extern int __sched_getscheduler (__pid_t __pid);
12extern int __sched_yield (void);
bd7d6b40 13libc_hidden_proto (__sched_yield)
c19559b0
UD
14extern int __sched_get_priority_max (int __algorithm);
15extern int __sched_get_priority_min (int __algorithm);
16extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
bdbf022d 17
37d33038 18/* These are Linux specific. */
fe559c5e 19extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
2a76f7ef 20 int __flags, void *__arg, ...);
37d33038 21extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
4f6f0a8f 22 size_t __child_stack_size, int __flags, void *__arg, ...);
6796bc80 23#endif