Expand description
Scheduler / realtime policy helpers. Linux scheduler / realtime policy helpers.
These helpers are intentionally small and explicit. They operate on the current thread.
References:
pthread_setschedparam(3)/sched_setscheduler(2)- Real-time policies:
SCHED_FIFO,SCHED_RR
Functionsยง
- set_
current_ thread_ sched_ fifo - Set the current thread to
SCHED_FIFOwith the given priority. - set_
current_ thread_ sched_ other - Set the current thread to the normal time-sharing policy (
SCHED_OTHER). - set_
current_ thread_ sched_ rr - Set the current thread to
SCHED_RRwith the given priority.