test
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user