Dispatcher

Q1. Explain Dispatcher.

Ans. This dispatcher is the module that gives control of the CPU to the process selected by the short term scheduler. This function involves the following:

  1. Switching Context
  2. Switching to User Mode
  3. Jumping to the proper location in the user program to restart that program.

 

This dispatcher should be as fast as possible, since it is invoked during every process switch. The time it takes for the dispatcher to stop one process and start another running is known as the dispatch latency.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: