Consistency – CC

Question 5. What is a deadlock, and how does it occur in concurrent systems?


Answer:

A deadlock occurs when two or more processes are waiting on each other to release resources, causing an indefinite wait. This often happens when processes acquire resources in different orders, leading to a circular dependency.


Resources:

Geeks For Geeks Article: Introduction of Deadlock in Operating System

View here



Microsoft Discussion Forum: Deadlock guide

View here