2 #include <posix/sched.h>
4 /* Now define the internal interfaces. */
5 extern int __sched_setparam
__P ((__pid_t __pid
,
6 __const
struct sched_param
*__param
));
7 extern int __sched_getparam
__P ((__pid_t __pid
, struct sched_param
*__param
));
8 extern int __sched_setscheduler
__P ((__pid_t __pid
, int __policy
,
9 __const
struct sched_param
*__param
));
10 extern int __sched_getscheduler
__P ((__pid_t __pid
));
11 extern int __sched_yield
__P ((void));
12 extern int __sched_get_priority_max
__P ((int __algorithm
));
13 extern int __sched_get_priority_min
__P ((int __algorithm
));
14 extern int __sched_rr_get_interval
__P ((__pid_t __pid
, struct timespec
*__t
));
16 /* This is Linux specific. */
17 extern int __clone
__P ((int (*__fn
) (void *__arg
), void *__child_stack
,
18 int __flags
, void *__arg
));