Default priority of thread with SCHED_FIFO

1k views Asked by At

What is the default priority of thread with SCHED_FIFO policy in Linux? The range is 0-99.

1

There are 1 answers

0
tux3 On

According to the Red Hat Enterprise MRG 1.3 Realtime Reference Guide, there is no default priority value for the SCHED_FIFO policy.

You have to set the priority when you set the policy to SCHED_FIFO.

Priority values:

Policy        Default    Lowest   Highest
SCHED_FIFO                  1       99
SCHED_RR                    1       99
SCHED_OTHER     0         -20       19