105k views
0 votes
For a Hold and wait condition to prevail :

a) A process must be not be holding a resource, but waiting for one to be freed, and then request to acquire it
b) A process must be holding at least one resource and waiting to acquire additional resources that are being held by other processes
c) A process must hold at least one resource and not be waiting to acquire additional resources
d) None of these

1 Answer

5 votes

Final answer:

The 'Hold and Wait' condition for a deadlock to occur is when a process is holding at least one resource and waiting to acquire more resources that other processes are holding. Answer b) accurately describes this condition.

Step-by-step explanation:

The question refers to a condition known as Hold and Wait, which is one of the necessary conditions for deadlock to occur in a system of processes. The correct answer is option b), which states: 'A process must be holding at least one resource and waiting to acquire additional resources that are being held by other processes'.

This situation contributes to a deadlock scenario because each process is holding resources that other processes need, and they are all waiting for each other to release their resources, essentially creating a standstill. The conditions given in options a) and c) do not reflect the 'Hold and Wait' condition for a deadlock.

User Mfussenegger
by
9.7k points