Question: Suppose we have four resources, A, B, C, and D, shared among 3 processes, P1, P2 and P3. The processes make the requests in the

Suppose we have four resources, A, B, C, and D, shared among 3 processes, P1, P2 and P3. The processes make the requests in the orders as shown below. Which set of the requests will guarantee that the system is deadlock free? A.

P1: A, B, C, D P2: B, C, D P3: C, D, A

B.

P1: A, C, B, D P2: C, D P3: B, D

C.

P1: A, C, B, D P2: B, A P3: D, C

D.

P1: A, C P2: B, C, D P3: C, D, A

E. none of the above is deadlock free

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!