Описание тега preemptive
Preemptive Scheduling of processes may occur due to a variety of reasons:
- The process requires more time than the time quantum assigned to it
- A process of a higher priority has entered the queue
- A process has less next-CPU-burst time then the one being executed.
In either of the cases, a context switch will occur. The context of the switched process will be saved and that of the new process will be loaded.