context switch
Hi ,
Context switch means CPU changing from one process/thread to antoher process/thread . During this switching from one process to another it has to save the state of the current active running process so that next time it gets to the same process it can retrive the state and continue . comtext switch may happen if priority of any process in the run queue is greater than the current active running process or if u r using round robin scheduling policy ,if the time slice of the current active running process completes control of the cpu is given to next process in the run queue.
hope u r clear.
sekhar
Last edited by sekhar; 05-31-2007 at 11:12 PM.
|