In preemptive scheduling there is timer running whose jobs is to switch tasks according to priority. scheduler decide which task will run and for how much time it will run on the CPU.
What we should know before to design Preemptive System ?
I think We should know how much time each tasks takes to complete its process and priority of each tasks.
What we should know before to design Preemptive System ?
I think We should know how much time each tasks takes to complete its process and priority of each tasks.