Blame include/sched.h

Packit 6c4009
#ifndef _SCHED_H
Packit 6c4009
#include <posix/sched.h>
Packit 6c4009
Packit 6c4009
#ifndef _ISOMAC
Packit 6c4009
/* Now define the internal interfaces.  */
Packit 6c4009
extern int __sched_setparam (__pid_t __pid,
Packit 6c4009
			     const struct sched_param *__param);
Packit 6c4009
libc_hidden_proto (__sched_setparam)
Packit 6c4009
extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
Packit 6c4009
extern int __sched_setscheduler (__pid_t __pid, int __policy,
Packit 6c4009
				 const struct sched_param *__param);
Packit 6c4009
libc_hidden_proto (__sched_setscheduler)
Packit 6c4009
extern int __sched_getscheduler (__pid_t __pid);
Packit 6c4009
extern int __sched_yield (void);
Packit 6c4009
libc_hidden_proto (__sched_yield)
Packit 6c4009
extern int __sched_get_priority_max (int __algorithm);
Packit 6c4009
libc_hidden_proto (__sched_get_priority_max)
Packit 6c4009
extern int __sched_get_priority_min (int __algorithm);
Packit 6c4009
libc_hidden_proto (__sched_get_priority_min)
Packit 6c4009
extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
Packit 6c4009
Packit 6c4009
/* These are Linux specific.  */
Packit 6c4009
extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
Packit 6c4009
		    int __flags, void *__arg, ...);
Packit 6c4009
libc_hidden_proto (__clone)
Packit 6c4009
extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
Packit 6c4009
		     size_t __child_stack_size, int __flags, void *__arg, ...);
Packit 6c4009
libc_hidden_proto (__clone2)
Packit 6c4009
#endif
Packit 6c4009
#endif