1 votes 1 votes Consider the following system snapshot Which of the following is a safe sequence? P1, P3, P0, P4, P2 P3, P1, P4, P0, P2 P3, P4, P1, P0, P2 All of these My question is how can the need of p3 can be satisfied first when C available is 0 Operating System made-easy-test-series operating-system deadlock-prevention-avoidance-detection + – Pankaj Joshi asked Nov 29, 2016 retagged Mar 4, 2019 by akash.dinkar12 Pankaj Joshi 1.3k views answer comment Share Follow See 1 comment See all 1 1 comment reply srestha commented Nov 29, 2016 reply Follow Share you are correct P3 cannot be satisfied first. Ans is 1st one only 0 votes 0 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes Here in this question we have to find safe sequence means if all the process satisfied than it is safe otherwise it is unsafe state. Here only possibe safe sequence start with only P1 but not start with P3 p1--->p3--->p0---->p4---->p2 is correct safe sequence and option A is correct. Hradesh patel answered Nov 29, 2016 edited Nov 29, 2016 by Prashant. Hradesh patel comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Yes, you are right P1 will always a stating of a safe sequence not P3 . given answer is wrong.. Himanshu Kumar Gupta answered Sep 7, 2020 Himanshu Kumar Gupta comment Share Follow See all 0 reply Please log in or register to add a comment.