]>
Commit | Line | Data |
---|---|---|
e9ce8d39 A |
1 | #ifndef _SCHED_H_ |
2 | #define _SCHED_H_ | |
3 | ||
4 | #include <pthread_impl.h> | |
5 | ||
6 | /* | |
7 | * Scheduling paramters | |
8 | */ | |
9 | #ifndef __POSIX_LIB__ | |
10 | struct sched_param { int sched_priority; char opaque[__SCHED_PARAM_SIZE__]; }; | |
11 | #endif | |
12 | ||
13 | extern int sched_yield(void); | |
14 | extern int sched_get_priority_min(int); | |
15 | extern int sched_get_priority_max(int); | |
16 | #endif /* _SCHED_H_ */ | |
17 |