real time scheduling in Linux

后端 未结 4 1111
天命终不由人
天命终不由人 2020-12-07 17:49

This morning I read about Linux real time scheduling. As per the book \'Linux system programming by Robert Love\', there are two main scheduling there. One is SCHED_FIFO, fi

4条回答
  •  时光说笑
    2020-12-07 18:30

    man sched_setscheduler explains these scheduling policies in detail.

    In this particular case because the two real-time processes have the same priority none of them will preempt the other. A SCHED_FIFO process runs until it blocks itself, SCHED_RR process runs until it blocks itself or its time quantum expires.

提交回复
热议问题