Can we use SCHED_OTHER
and SCHED_RR
for two threads, if so how will the CPU handle the threads with policy of Non-Realtime and Realtime.
Multiple scheduling policies usage
217 views Asked by Gughan At
2
Can we use SCHED_OTHER
and SCHED_RR
for two threads, if so how will the CPU handle the threads with policy of Non-Realtime and Realtime.
What @janneb said is true for the Linux implementation of POSIX. But since this question was also tagged
posix
, I shall quote what POSIX 7 says about it:So what I can interpret from that is that POSIX does not specify what happens.