2. Deadlocks are a set of blocked processes
each holding a resource and waiting to
acquire a resource held by another process.
EXAMPLES:
"It takes money to make money".
You can't get a job without experience; you can't get
experience without a job.
What is a Deadlock?
3. COMMUMICATION DEADLOCK
Communication deadlock is a type of distributed
deadlock.
Communication deadlock occurs when process A is
trying to send a message to process B,which is trying
to send a message to process C ,which is trying send a
message to A
4. 1. Mutual exclusion
2. Nonpreemptive
resource allocation
3. Hold and Wait
4. Cyclic Wait
To prevent deadlock, one must assure that these
conditions cannot hold.
For deadlock to occur, four
conditions must hold: