edited by
567 views
2 votes
2 votes

The solution for process synchronization is given below :

 

 

 

Which of the following is correct about the above given solution?


 

(A) Satisfies Mutual Exclusion
(B) Satisfies Progress
(C) Satisfies Bounded wait
(D) Suffers from deadlock

 

edited by

2 Answers

2 votes
2 votes
This is peterson algo / dickerson solution.

There is mutual exclusion, progress and BC and no deadlock
1 votes
1 votes
when both process are False both will enter in CS so no mutual exclusion.

Progress is there, bounded wait is there and it doesnt suffer from deadlock.

Related questions

3 votes
3 votes
1 answer
1
LRU asked Oct 17, 2021
589 views
Let S be a binary semaphore variable. Let S = 0 initially. Assume that no blocked processes exist in the system. The following signal (V), wait (P) operations are perform...
4 votes
4 votes
1 answer
3
LRU asked Oct 17, 2021
1,289 views
Consider the following statements : Satisfies Mutual exclusionSatisfies Progress Satisfies Bounded waitSuffers from deadlockThe number of above statements that is correc...