To ensure that the hold and wait condition never occurs in the system, it must be ensured that :
A. whenever a resource is requested by a process, it is not holding any other resources
B. each process must request and be allocated all its resources before it begins its execution
C. a process can request resources only when it has none
D. All of these
Answer:A
To ensure that the hold and wait condition never occurs in the system, it must be ensured that :
A. whenever a resource is requested by a process, it is not holding any other resources B. each process must request and be allocated all its resources before it begins its execution C. a process can request resources only when it has none D. All of these
Explanation: c – A process may request some resources and use them. Before it can can request any additional resources, however it must release all the resources that it is currently allocated.