Preemptive Priority scheduling example


Different duration and priority processes in the ready queue, processes have only cpu bursts, a high priority process comes later


Process Burst
duration
(CPU)
Priority Submission
Time
P1 5 4 0
P2 4 1 0
P3 7 9 0
P4 3 1 0
P5 2 10 2

All processes arrive in the table order, process "P5" arrive at time 2 and has priority 10.

Comments: