CONTEXT SWITCH
\kˈɒntɛkst swˈɪt͡ʃ], \kˈɒntɛkst swˈɪtʃ], \k_ˈɒ_n_t_ɛ_k_s_t s_w_ˈɪ_tʃ]\
Sort: Oldest first
-
When a multitasking operating systemstops running one process and starts running another. Manyoperating systems implement concurrency by maintainingseparate environments or "contexts" for each process. Theamount of separation between processes, and the amount ofinformation in a context, depends on the operating system butgenerally the OS should prevent processes interfering with eachother, e.g. by modifying each other's memory.A context switch can be as simple as changing the value of theprogram counter and stack pointer or it might involveresetting the MMU to make a different set of memory pagesavailable.In order to present the user with an impression of parallism,and to allow processes to respond quickly to external events,many systems will context switch tens or hundreds of times persecond.
By Denis Howe
Word of the day
SQ10,643
- A serotonin antagonist with limited antihistaminic, anticholinergic, and immunosuppressive activity.