1 votes 1 votes Will there be Mutual Exclusion & Deadlock ? Operating System operating-system semaphore process-synchronization deadlock-prevention-avoidance-detection mutual-exclusion + – SamAddy asked Jan 20, 2019 SamAddy 751 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Navneet Kalra commented Jan 20, 2019 reply Follow Share Mututal exclusion and deadlock both exist 1 votes 1 votes aditya333 commented Jan 20, 2019 reply Follow Share can you please specify how a deadlock is possible? 0 votes 0 votes Navneet Kalra commented Jan 20, 2019 reply Follow Share sorry...it's a peterson solution to critical section problem...deadlock wont be there....mutual exclusion is possible 2 votes 2 votes OneZero commented Jan 20, 2019 reply Follow Share Deadlock is not possible in this case bexause there turn can take either o or 1, it cannot be both at the same time 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Mutual Exclusion is satisfied. Deadlock is not possible as value of turn can be either i or j but not both. aaaakash001 answered Oct 23, 2022 aaaakash001 comment Share Follow See all 0 reply Please log in or register to add a comment.