Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4389

Deadlock

Deadlock
BehaviorHigh supportOrganizational Behavior
Included
account_tree

Updated 2026-07-28

Loading revision record…

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'.

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/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

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.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E6%AD%BB%E9%94%81ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS