What is the difference between preemptive scheduling and non-preemptive scheduling? What is the issue with the latter?

      

What is the difference between preemptive scheduling and non-preemptive scheduling?
What is the issue with the latter?

  

Answers


Faith
Pre-emptive scheduling is based on timer interrupts, where a running thread may be interrupted by the
OS and switched to the ready state at will (usually if something more important comes through) or when
it has exceeded its timing allocation. Non-preemptive scheduling means once a thread is in the running
state, it continues until it completes, or at least gives up the CPU voluntarily. Threads that do this are
likely to monopolize the CPU.
Titany answered the question on April 26, 2022 at 13:36


Next: Why is it generally correct to favour I/O bound processes over CPU-bound processes?
Previous: Describe round robin scheduling. What is the parameter associated with the scheduler? What is the issue in choosing the parameter?

View More Operating Systems Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions