Kavya TKnowledge Contributor
a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process
a process scheduling algorithm is preemptive if the CPU can be forcibly removed from a process
In a preemptive scheduling once the CPU is given to a task it can be taken away, for example when a higher priority task wants the CPU. Preemptive scheduling is used in real-time systems where the tasks are usually configured with different priorities and time critical tasks are given higher priorities.