# sched.h ## **Overview** **Related Modules:** [PROCESS](PROCESS.md) **Description:** Provides process- and thread-related structures and functions \(for example, obtaining scheduling policies and parameters\). **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures
sched_get_priority_max (int policy) |
Obtains the maximum static priority that can be used for a process. |
sched_get_priority_min (int policy) |
Obtains the minimum static priority that can be used for a process. |
sched_getparam (pid_t pid, struct sched_param *param) |
|
sched_getscheduler (pid_t pid) |
|
sched_rr_get_interval (pid_t pid, struct timespec *interval) |
|
sched_setparam (pid_t pid, const struct sched_param *param) |
Sets scheduling parameters related to a scheduling policy for a process. |
sched_setscheduler (pid_t pid, int policy, const struct sched_param *param) |
|
sched_yield (void) |