1 votes 1 votes if system is in unsafe state then deadlock may or may not occur but in bankers algorithm if system found in unsafe state how to check further for deadlock. explain with example Operating System deadlock-prevention-avoidance-detection + – Sourabh Kumar asked Dec 3, 2015 Sourabh Kumar 462 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Sourabh Kumar commented Dec 3, 2015 reply Follow Share mr. anirudh but in this example also they said "deadlock may occur" give one case when system is in unsafe but not in deadlock 0 votes 0 votes Prashant. commented Dec 3, 2015 reply Follow Share http://cs.stackexchange.com/questions/45145/why-unsafe-state-not-always-cause-deadlock i can say it is possible when two process start at same time then deadlock but not when they run one by one. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes http://www.cs.jhu.edu/~yairamir/cs418/os4/sld025.htm reffer this then you got the algo. Prashant. answered Dec 3, 2015 Prashant. comment Share Follow See all 0 reply Please log in or register to add a comment.