Question: 1. Directed graph deadlock problem: a. Draw a directed graph model with four processes and four resources with the following conditions: The system is deadlocked

1. Directed graph deadlock problem:

a. Draw a directed graph model with four processes and four resources with the following conditions:

  • The system is deadlocked
  • All resources are currently being held
  • If any of the four processes was removed there would no longer be a deadlock

b. Remove one of the processes and indicate how the deadlock will now be resolved.

c. Referring back to your original system, indicate how the deadlock could be resolved if the mutual exclusion policy was removed from the system.

d. Referring back to your original system, indicate how the deadlock could be resolved if the resource holding policy was removed from the system.

e. Referring back to your original system, indicate how the deadlock could be resolved if the no preemption policy was removed from the system.

e. Referring back to your original system, indicate how the deadlock could be resolved if the circular wait was removed from the system.

** DO NOT ANSWER EXCEPT IF YOU ARE GOING TO ANSWER THE WHOLE QUESTION **

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!