3.2 Process Scheduling
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.