chiark / gitweb /
[PATCH] volume-id build fix and update
[elogind.git] / klibc / klibc / include / sched.h
1 /*
2  * sched.h
3  */
4
5 #ifndef _SCHED_H
6 #define _SCHED_H
7
8 #include <klibc/extern.h>
9
10 /* linux/sched.h is unusable; put the declarations we need here... */
11
12 #define SCHED_NORMAL            0
13 #define SCHED_FIFO              1
14 #define SCHED_RR                2
15
16 struct sched_param {
17   int sched_priority;
18 };
19
20 __extern int sched_setschedule(pid_t, int, const struct sched_param *);
21 __extern int sched_yield(void);
22
23 #endif /* _SCHED_H */