int sched_yield(void)
To cause the calling thread to relinquish the CPU.
Definition: sched.c:30
int sched_rr_get_interval(pid_t pid, struct timespec *tp)
Write the round-robin time quantum of the scheduler into the timespec structure pointed to by tp.
Definition: sched.c:22
int sched_get_priority_min(int policy)
Return the minimum priority of the thread can be set.
Definition: sched.c:17
int sched_get_priority_max(int policy)
Return the maximum priority of the thread can be set.
Definition: sched.c:12