Context switch - Wikipedia
In computing, a context switch is the process of storing the state of a process or thread, so that it can be restored and resume execution at a later point, and then restoring a different, previously saved, state.[1] This allows multiple processes to share a single central processing unit (CPU), and is an essential feature of a multiprogramming or multitasking operating system. In a traditional CPU, each process – a program in execution – uses the various CPU registers to store data and hold the current state of the running process. However, in a multitasking operating system, the operating system switches between processes or threads to allow the execution of multiple processes simultaneously.[2] For every switch, the operating system must save the state of the currently running process, followed by loading the next process state, which will run on the CPU. This sequence of operations that stores the state of the running process and loads the following running process is called a cont
Context switch - Wikipedia Jump to content From Wikipedia, the free encyclopedia Switch between processes or tasks on a computer This article is about computer task switching. For the term in human cognition, see Human multitasking . In computing , a context switch is the process of storing the state of a process or thread , so that it can be restored and resume execution at a later point, and then restoring a different, previously saved, state. [ 1 ] This allows multiple processes to share a single central processing unit (CPU) and is an essential feature of a multiprogramming or multitasking
Explore this link on the map →related reading
- Processes and Threads — PlanetScaleplanetscale.com
- The "Basics" | Putting the "You" in CPUcpu.land
- Slice Dat Time | Putting the "You" in CPUcpu.land
- Multithreading (computer architecture) - Wikipediaen.wikipedia.org
- OS 202 Class Notescs.nyu.edu
- Multiprogramming in Operating System - GeeksforGeeksgeeksforgeeks.org
- Infographics: Operation Costs in CPU Clock Cycles - 6IT6it.dev
- Multiprocessing - Wikipediaen.wikipedia.org
- tldp.org/LDP/tlk/kernel/processes.htmltldp.org
- Understanding threads | Pintos Documentationcs162.org
- Reading 14: Concurrencyweb.mit.edu
- Inside look at modern web browser (part 1) | Blog | Chrome for Developersdeveloper.chrome.com