Dispatcher in Operating System:
Definition and Explanation:
Dispatcher is a program that actually gives control of CPU to a process selected
by CPU scheduler. It is another part of the scheduling system.
The functions of dispatcher module are as follows:
- Switching context
- Switching to user mode
- Jumping to the proper location in the user program to restart it
The dispatcher should be very fast because it is called every time a process takes control of CPU. The time that the dispatcher takes between stopping one process and starting another process is called the dispatch latency.