[LAD] Kontakt Spikes
Robin Gareus
robin at gareus.org
Mon Oct 10 19:08:51 UTC 2011
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
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
More information about the Linux-audio-dev
mailing list