I\'m writing a a very small daemon that must remain responsive even when a system is under severe stress. I\'m looking at the differences between SCHED_FIFO and SCHED_RR in
If all your other tasks use the standard scheduler, it makes no difference; SCHED_FIFO and SCHED_RR only affect the scheduling of these tasks with each other.
So on a normal system it makes no difference. FIFO is easiest to understand, so use that I guess.
If you have several tasks of different priorities, only the higher one will be run if they are all ready to be run (and there is only one CPU core)