On 10/10/2011 07:55 PM, Michael Ost wrote:
> I'm not totally clear on how SCHED_RR and SCHED_FIFO relate though.
> Would (a) a SCHED_RR/50 thread be run ahead of a SCHED_FIFO/49 thread?
yes.
The scheduling policy only determines the ordering within the list of
runnable processes with equal static priority.
> And would (b) a SCHED_RR/50 thread interrupt a running SCHED_FIFO/49
> thread?
yes.
All scheduling is preemptive: if a process with a higher static
priority becomes ready to run, the currently running process will be
preempted and returned to the wait list.
Both texts are quotes from `man 2 sched_setscheduler`.
ciao,
robin
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Oct 11 00:15:02 2011
This archive was generated by hypermail 2.1.8 : Tue Oct 11 2011 - 00:15:02 EEST