Computer PPSC
Deadlock occurs due to?
Explanation
Deadlock happens when two or more processes each hold a resource while waiting for a resource held by another process, so none can proceed. "Hold and wait" means a process is holding at least one resource and requesting additional resources that are currently held by other processes.
Related facts:
The four conditions for deadlock (Coffman conditions) are: mutual exclusion, hold and wait, no preemption, and circular wait.
Deadlock prevention breaks at least one of these four conditions.
Starvation differs from deadlock: a starved process is delayed indefinitely but not blocked in a circular wait.
Exam tip: This is a commonly tested basic operating-system concept in computer operator exams — remember all four Coffman conditions.