human
When a context switch occurs, what is the first thing that happens?
assistant
The first thing that happens is that the CPU is halted. The CPU is the part of the computer that does the actual work. When the CPU is halted, it is not doing any work. The CPU is then switched to the other process.