github.com/gotranspile/cxgo@v0.3.8-0.20240118201721-29871598a6a2/libs/includes/sched.h (about) 1 2 #include <sys/types.h> 3 4 typedef struct sched_param {} sched_param; 5 6 int sched_get_priority_max(int); 7 int sched_get_priority_min(int); 8 int sched_getparam(pid_t, struct sched_param *); 9 int sched_getscheduler(pid_t); 10 int sched_rr_get_interval(pid_t, struct timespec *); 11 int sched_setparam(pid_t, const struct sched_param *); 12 int sched_setscheduler(pid_t, int, const struct sched_param *); 13 int sched_yield(void); 14