498 views
0 votes
0 votes

Original question - https://gateoverflow.in/3823/gate2005-it-62

 

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 :

  1. T11>T21
  2. T12>T22
  3. T11<T21
  4. T12<T22

Which of the following conditions ensures that P1 and P2 can never deadlock?

  1. (I) and (IV)
  2. (II) and (III)
  3. (I) and (II)
  4. None of the above

 

 

==============================================================================================

 

Someone please explain how to interpret this line - 

A process Pi can snatch a resource Rh from process Pj if Tik is greater than Tjk

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
4