A context switch is the mechanism to store and restore the state or context of a CPU in Process Control block so that a process execution can be resumed from the same point at a later time. Using this technique, a context switcher enables multiple processes to share a single CPU. Context switching is an essential part of a multitasking operating system features.
When the scheduler switches the CPU from executing one process to execute another, the state from the current running process is stored into the process control block. After this, the state for the process to run next is loaded from its own PCB and used to set the PC, registers, etc. At that point, the second process can start executing.
It really good to be on coolNaira app I wish myself luck and every other people too
Are you still wasting your data on facebook? Do you know you can make a lot of money in internet everday, ask me how or chat me on with this number 09030772176
My brother and sister try to register in coolnaira is One of the Best