Computer System, Computer Science, Operating Systems.
of the current process, restoring the context of the new process, and then passing control to the new process. The new process picks up exactly where it left off. 操作系统需要保持跟踪进程运行所需的所有状态信息，称之为上下文。当控制权从当前进程转移到其他进程时需要上下文切换，即保持旧进程的状态，恢复新进程的状态，然后控制权转给新进程从上次停止地方继续执行。 进程间切换通过OS