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
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.