A system has n resources r0,...,rn-1,and k processes p0,....Pk-1.The implementation of the resource request logic of each process pi is as follows: if (i % 2 == 0) { if (i < n) request ri if (i+2 < n) request ri+2 } else { if (i < n) request rn-i if (i+2 < n) request rn-i-2 }
Answers
Answered by
0
Answer:
Step-by-step explanation:
4
Similar questions