Описание тега preemptive

Preemptive Scheduling of processes may occur due to a variety of reasons:

  1. The process requires more time than the time quantum assigned to it
  2. A process of a higher priority has entered the queue
  3. 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.