deadlock

A state where two or more pieces of work each wait for the other forever, so none can continue.

In more detail

Each party holds something the other needs, such as a lock, and waits for the other to let go first. The program keeps running but makes no progress.

Examples

.NET: calling .Result on a task where a synchronization context needs the blocked thread; await instead.
A deadlocked process is what a liveness probe and restart are for.

Related terms

Taught in

References