OS-Controlled Preemption

Back to Preemptive vs Cooperative

The OS can interrupt any running process via timer interrupts and schedule a different process. This prevents any single process from monopolizing the CPU and ensures responsive multitasking. All modern general-purpose operating systems use preemptive scheduling.

operating-systems scheduling