dødlås
Dödlås, or deadlock, is a state in which no progress can be made because multiple actors hold resources the others need to continue. In computing, dödlås describes a situation where two or more processes are blocked forever, each waiting for a resource held by another.
A classic description involves four conditions that Coffman outlined as typically necessary for a deadlock: mutual
An example: Process A holds resource X and waits for Y, while Process B holds Y and
Detection and resolution strategies vary. Prevention aims to eliminate one of the four conditions, for instance
In practice, dödlås is a central concern in operating systems, databases, and distributed systems. Understanding its