12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #ifndef _SCHED_H
- #define _SCHED_H 1
- #include <features.h>
- #include <bits/types.h>
- #define __need_timespec
- #include <time.h>
- #include <bits/sched.h>
- #define sched_priority __sched_priority
- __BEGIN_DECLS
- extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
- __THROW;
- extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __THROW;
- extern int sched_setscheduler (__pid_t __pid, int __policy,
- __const struct sched_param *__param) __THROW;
- extern int sched_getscheduler (__pid_t __pid) __THROW;
- extern int sched_yield (void) __THROW;
- extern int sched_get_priority_max (int __algorithm) __THROW;
- extern int sched_get_priority_min (int __algorithm) __THROW;
- extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
- __END_DECLS
- #endif
|