]> git.saurik.com Git - apple/libc.git/blob - pthreads/sched.h
d67a48275f3beb25385d25c974bab013e3f0a0a7
[apple/libc.git] / pthreads / sched.h
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