289 views
0 votes
0 votes

To check that a mutual exclusion algorithm  is not free from deadlock,is it necessary to check if the entire processes in the system are in deadlock-

If there are 5 processes in the system- P0,P1,P2,P3,P4 and if we have to prove that the particular mutual exclusion algorithm is not deadlock free, do we have to show that all processes P0,P1,P2,P3,P4 are in involved in deadlock and if just the processes P0,P1,P2 are involved in deadlock then mutual exclusion algorithm is free from deadlock?

 

According to Galvin, if a resource allocation graph contains a cycle and each resource involved in the cycle has only 1 instance of its type then system is definitely in deadlock- This means it is not necessary for all processes in the system to be in deadlock to say deadlock has occurred?

Please log in or register to answer this question.

No related questions found