Deadlock
OS
A situation where two or more processes are blocked forever because each is waiting for resources held by the other. The four conditions are: mutual exclusion, hold and wait, no preemption, and circular wait.
Tags
concurrencyprocessessynchronization
Related Concepts
Process vs Thread
OS
A process is an independent program with its own memory space, while a thread is a lightweight unit of execution within a process that shares memory w...
concurrencyfundamentalsmemory
Context Switching
OS
The process of storing and restoring the state of a CPU so that execution can resume later. Frequent context switches can impact performance.
performanceschedulingprocesses