문제

How can I use sched_setscheduler explained in this topic? It seems that I have to write a C code and run it on shell?

도움이 되었습니까?

해결책

To change the policy of a process from the shell you need to use chrt. To choose real time priorities you must be root. Beware that this is dangerous, raising priorities higher than the kernel interrupts will definitely have strange side effects!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top