beginnertermWeb foundationsWeb foundations / Backend and APIs / Deadlocks
BeginnerNot yet reviewed

Deadlocks

A situation where two or more competing actions are each waiting for the other to finish, preventing any from completing.

Definition

A situation where two or more competing actions are each waiting for the other to finish, preventing any from completing.

Use case

Transaction A holding Resource 1 waiting for Resource 2, while Transaction B holds Resource 2 waiting for Resource 1.

Related terms

Articles

Deadlock

Wikipedia · Article · link checked 2026-10-16

Two processes waiting on each other forever, and how to avoid it.

Suggest a change