Everything about Context switch
Switch between processes or tasks on a computer
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. 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. 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 context switch. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Context switchA 5-minute orientation
- Skim a recent paper: A context-dependent switch from sensing to feeling in the primate amygdalaInfluential work since 2022
- Pick up a classic book: JavaScriptThe most-reprinted book on the subject
- Read the landmark paper: Context, attention, and the switch between habit and goal-direction in behaviorCited 107 times
- Go sideways: Interrupt handlerA closely related topic
- Go sideways: Operating systemA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Context, attention, and the switch between habit and goal-direction in behavior
The mitotic kinesin-14 KlpA contains a context-dependent directionality switch
Context-dependent function of “GATA switch” sites in vivo
PEAK1 Acts as a Molecular Switch to Regulate Context-Dependent TGFβ Responses in Breast Cancer
Context switch effects on acquisition and extinction in human predictive learning.
Eurasian jays, Garrulus glandarius, flexibly switch caching and pilfering tactics in response to social context
Switch probability context (in)sensitivity within the cognitive control network
To switch or not to switch: the role of tourists’ psychological engagement in the context of Airbnb Malaysia
🆕 Influential since 2022
A context-dependent switch from sensing to feeling in the primate amygdala
Ontogenetic change in social context as a cue for a behavioural switch in spiderlings
FOXO1 phosphorylation as a context-dependent molecular switch in cancer: from mechanisms to precision therapy
Quantum Switch as a Thermodynamic Resource in the Context of Passive States
Monoamine oxidase B as a context-dependent metabolic switch in hepatocellular carcinoma
📚 Books worth reading
JavaScriptDavid Flanagan · 1996
PsychologyRobert A. Baron · 1977
Communication Technologies for VehiclesMarion Berbineau · 2013
Clean CodeRobert C. Martin · 2008
The personal MBAJosh Kaufman · 2010
Mobile Networks and ManagementAndreas Timm-Giel · 2013- 📕Intergenerational Language Use and Acculturation of Turkish Speakers in Four Immigration ContextsKutlay Yagmur · 2016
SPARC Architecture, Assembly Language Programming, and CRichard P. Paul · 1994
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Interrupt handler In computer systems programming, an interrupt handler, also known as an interrupt service routine (ISR), is a special block of code associated with a specific…
- Operating system An operating system (OS) is system software that manages computer hardware and software resources, and provides common services for computer programs.…
- Process control block A process control block (PCB), also sometimes called a process descriptor, is a data structure used by a computer operating system to store all the information…
- Bellmac 32 The Bellmac 32, also known as the WE 32000, is a microprocessor developed by Bell Labs' processor division in 1980, implemented using CMOS technology and…
- Task state segment The task state segment (TSS) is a structure on x86-based computers which holds information about a task. It is used by the operating system kernel for…
- Thread (computing) In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which…
- Real-time operating system A real-time operating system (RTOS) is an operating system (OS) for real-time computing applications that processes data and events that have critically…
- Multithreading (computer architecture) In computer architecture, multithreading is the ability of a central processing unit (CPU) (or a single core in a multi-core processor) to provide multiple…