Given total number of instances of a resource to be 18, three processes (P1, P2, and P3) and the resource requirement and allocation table are given below.…
Given total number of instances of a resource to be 18, three processes (P1, P2, and P3) and the resource requirement and allocation table are given below. Which of the following orders of process execution forms a safe (deadlock free) sequence?
Process – Max. Need – Current Allocation
P1 – 12 – 7
P2 – 10 – 5
P3 – 5 – 4
Show answerHide answer
Correct answer: (B) <P3, P1, P2>