Never request a resource after releasing any resources - Not a valid Deadlock Prevention scheme

Q.  From the following statements which one is not a valid deadlock prevention scheme?
- Published on 16 Jun 15

a. Number the resources uniquely and never request a lower numbered resource than the last one
b. Release all the resources before requesting for a new resource
c. Request all the resources before execution
d. Never request a resource after releasing any resources

ANSWER: Never request a resource after releasing any resources
 
The deadlock prevention has 4 methods to mutual exclusion,hold and wait,no preemption,circular wait.

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.)