Deadlock prevention & deadlock avoidance schemes - Operating System

Q.  Which of the following statements is not true for the deadlock prevention and deadlock avoidance schemes?
- Published on 26 Aug 15

a. Deadlock avoidance is less restrictive than deadlock prevention.
b. In deadlock prevention, the request for resources is always granted, if the resulting state is safe.
c. It is the priority to have the knowledge of resource requirements for deadlock avoidance.
d. In deadlock avoidance, the request for resources is always granted, if the resulting state is safe.

ANSWER: In deadlock avoidance, the request for resources is always granted, if the resulting state is safe.
 

    Discussion

  • Nirja Shah   -Posted on 21 Nov 15
    - The deadlock prevention scheme manages the deadlock by making sure that one of the four necessary conditions don't occur.

    - Even if the resulting state is safe the request for a resource may not be granted in the deadlock prevention.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)