Question: Q.5 (10pts) Suppose a system has five processes and four resources. The current allocation matrix (C), request matrix(R) and available resources vector(A) are given as

Q.5 (10pts) Suppose a system has five processes and four resources. The current allocation matrix (C), request matrix(R) and available resources vector(A) are given as follows. For which value(s) of X in A (ie available instances of R2) the system is not deadlocked. What is the resulting execution sequence. Prove your answer. R A R1 R2 R3 R4 R1 R2 R3 R R4 R1 R2 R3 R4 0 1 0 0 3 2 0 0 Proc.A Proc.B Proc.C 2 1 1 0 2 2 0 1 O ONO 2 00 110 2 1 0 2 2 Proc.D 0 3 2 2 0 0 1 | Proc.E 0 1 3 0 0 4 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
