8 #include <klibc/extern.h>
10 /* linux/sched.h is unusable; put the declarations we need here... */
12 #define SCHED_NORMAL 0
20 __extern int sched_setscheduler(pid_t, int, const struct sched_param *);
21 __extern int sched_yield(void);
23 /* Raw interfaces to clone(2); only actually usable for non-VM-cloning */
25 __extern pid_t __clone2(int, void *, void *);
26 static __inline__ pid_t __clone(int _f, void *_sp)
28 return __clone2(_f, _sp, 0);
31 __extern pid_t __clone(int, void *);