What is CPU Scheduler?

3 years ago
Operating System

Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them. CPU scheduling decisions may take place when a process:

 

  1. Switches from running to waiting
  2. Switches from running to ready
  3. Switches from waiting to
  4. Terminates

 

Scheduling under 1 and 4 is non-preemptive. All other scheduling is preemptive.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions