A hardware timer is configured to create an interrupt every 1 ms. Time slice is 1 ms.
CPU is executing three Task's in round robin fashion.
What is context switching in the whole process ?
After giving up control of one task the CPU gives control to another task, is this called context or task switching?
CPU is executing three Task's in round robin fashion.
- Task 1 takes 2 ms to complete
- Task 2 takes 4 ms to complete
- Task 3 takes 6 ms to complete
What is context switching in the whole process ?
After giving up control of one task the CPU gives control to another task, is this called context or task switching?
Last edited: