-
Which of the following is not true for deadlock prevention and deadlock avoidance schemes?
-
- In deadlock prevention, the request for resources is always granted, if the resulting state is safe
- In deadlock avoidance, the request for resources is always granted, if the resulting state is safe
- Deadlock avoidance is less restrictive than deadlock prevention
- Deadlock avoidance requires knowledge of resource requirement a priori
- In deadlock prevention, the request for resources is always granted, if the resulting state is safe
Correct Option: A
Deadlock prevention does not guarantee the state that the state would be safe when the request for resources is granted instead it is guaranteed by deadlock avoidance and there will be no deadlock at that time.