3.2 Process Scheduling

Scheduling Queue

Scheduler

  • long-term scheduler (job scheduler):selects processes from this pool and loads them into memory for execution.

  • short-term scheduler (CPU scheduler):selects from among the processes that are ready to execute and allocates the CPU to one of them.

Context Switch

  • Switching the CPU to another process requires performing a state save of the current process and a state restore of a different process. This task is known as a context switch.

Last updated

Was this helpful?