Deadlock
Updated 2026-07-28
Summary
Deadlock, also translated as dead knot, is a term in computer science. When two or more computing units are each waiting for the other to stop executing in order to acquire system resources, and neither side exits early, it is called a deadlock. In multitasking operating systems, to coordinate different threads and manage resource acquisition, the operating system must solve this problem to ensure normal operation. A similar situation is called a 'livelock'.
Definition
Deadlock, also translated as dead knot, is a term in computer science. When two or more computing units are each waiting for the other to stop executing in order to acquire system resources, and neither side exits early, it is called a deadlock. In multitasking operating systems, to coordinate different threads and manage resource acquisition, the operating system must solve this problem to ensure normal operation. A similar situation is called a 'livelock'.
Introduction
How to use
Deadlock, also translated as dead knot, is a term in computer science. When two or more computing units are each waiting for the other to stop executing in order to acquire system resources, and neither side exits early, it is called a deadlock. In multitasking operating systems, to coordinate different threads and manage resource acquisition, the operating system must solve this problem to ensure normal operation. A similar situation is called a 'livelock'.
Mechanism
Multiple entities hold resources and wait in a cycle; when the four necessary conditions (mutual exclusion, hold and wait, no preemption, circular wait) are all present, permanent blockage occurs.
Practice
In progress 0/4Practice this model in one real situation:
Cases
- Two processes interlock; departments wait for each other to move first.
Common pitfalls
- Expecting 'waiting a bit longer' to resolve itself; no external intervention.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E6%AD%BB%E9%94%81verified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS