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 [email protected] http://lists.linuxaudio.org/listinfo/linux-audio-dev
