Content deleted Content added
No edit summary Tags: Reverted Visual edit Mobile edit Mobile web edit |
Reverting edit(s) by 2605:8D80:543:7787:CC63:2ECD:4C30:34F6 (talk) to rev. 1224261498 by Guy Harris: Vandalism (UV 0.1.5) |
||
Line 111:
===={{Anchor|SHORT-TERM}}Short-term scheduling====
The ''short-term scheduler'' (also known as the ''CPU scheduler'') decides which of the ready, in-memory processes is to be executed (allocated a CPU) after a clock [[interrupt]], an I/O interrupt, an operating [[
A preemptive
===={{Anchor|DISPATCH-LATENCY}}Dispatcher====
Another component that is involved in the CPU-scheduling function is the dispatcher, which is the module that gives control of the CPU to the process selected by the short-term scheduler. It receives control in kernel mode as the result of an interrupt or system call. The functions of a dispatcher involve the following:
* [[Context switch]]es, in which the dispatcher saves the [[State (computer science)|state]] (also known as [[Context (computing)|context]]) of
* Switching to user mode.
* Jumping to the proper ___location in the user program to restart that program indicated by its new state.
|