On 10/10/2011 09:05 PM, Robin Gareus wrote:
> 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.

OOPS. I misread the question. The answer is No.
The explanation is correct:
> 
> 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
_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to