2 2 votes Which of the following is not true with respect to deadlock prevention and deadlock avoidance schemes? In deadlock prevention, the request for resources is always granted if resulting state is safe. In deadlock avoidance, the request for resources is always granted. if the resulting state is safe. Deadlock avoidance requires knowledge of resource requirements a priori. Deadlock prevention is more restrictive than deadlock avoidance. Operating System isrodec2017 deadlock-prevention-avoidance-detection operating-system + – gatecse 2.9k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply sachin! commented Dec 20, 2017 reply Follow flag option a 0 0 replyShare Praveenk99 commented Oct 25, 2019 reply Follow flag option A is false because it is a condition for deadlock avoidance not prevention 0 0 replyShare Arjun commented Jul 11, 2022 reply Follow flag https://gateoverflow.in/488/gate-cse-2008-question-65 0 0 replyShare Please log in or register to add a comment.
Best answer 4 4 votes Deadlock prevention tries to break one of the four necessary conditions of deadlock. It may reject resource requests even if the resulting state is safe in order to break necessary condition. Eg: ordering of resources may reject some requests even though they are safe Prevention is similar to a traffic light while avoidance is similar to a police officer directing traffic Deadlock avoidance is less strict than deadlock prevention. It allows mutual exclusion, wait and hold, no preemption, but prevents circular wait. Deadlock avoidance only checks safe states. The request for resources is always granted if the resulting state is safe Option A is false, all other options are true sh!va answered Jan 10, 2018 • selected Apr 11, 2018 by Soumya29 sh!va comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes option A Deadlock prevention scheme handles deadlock by making sure that one of the four necessary conditions don't occur. In deadlock prevention, the request for a resource may not be granted even if the resulting state is safe. http://www.geeksforgeeks.org/operating-systems-set-11/ Manoja Rajalakshmi A answered Dec 21, 2017 Manoja Rajalakshmi A comment Share Follow 0 reply Please log in or register to add a comment.