This commit is contained in:
John Gatward
2026-03-25 12:33:18 +00:00
parent 4280451f12
commit 98e3df3a28

View File

@@ -155,7 +155,7 @@ Deadlocks have to be prevented as well.
A set of processes/threads is *deadlocked* if each process/thread in the set is waiting for an event that only the other process/thread in the set can cause A set of processes/threads is *deadlocked* if each process/thread in the set is waiting for an event that only the other process/thread in the set can cause
Each **deadlocked process/thread** is waiting for a resource held by another deadlocked process/thread (which cannot run and hence release the resource) . Each **deadlocked process/thread** is waiting for a resource held by another deadlocked process/thread (which cannot run and hence release the resource).
* Assume that X and Y are **mutually exclusive resources**. * Assume that X and Y are **mutually exclusive resources**.
* Thread A and B need to **acquire both resources** and request them in oppose orders. * Thread A and B need to **acquire both resources** and request them in oppose orders.