Two shared resources R1 and R2 are used by processes P1 and P2. Each process…
PYQ GATE 2005
Two shared resources R1 and R2 are used by processes P1 and P2. Each process has a certain priority for accessing each resource. Let Tij denote the priority of Pi for accessing Rj. A process Pi can snatch a resource Rh from process Pj if Tik is greater than Tjk. Given the following :
T11 > T21
T12 > T22
T11 < T21
T12 < T22
Which of the following conditions ensures that P1 and P2can never deadlock?
- A.
(I) and (IV)
- B.
(II) and (III)
- C.
(I) and (II)
- D.
None of the above
Attempted by 328 students.
Sign up free to check your answer
Sign up freeLoading lesson…

