context switching
In a multitasking operating system, the act of halting a currently executing task, saving its task state, and loading and dispatching a new task. Note that OS/2 undertakes context switching on the basis of threads rather than hardware-defined tasks.