126k views
1 vote
Set of processes is deadlock if

a) each process is blocked and will remain so forever
b) each process is terminated
c) all processes are trying to kill each other
d) none of the mentioned

User Fresidue
by
8.0k points

1 Answer

4 votes

Final answer:

In computing, a deadlock occurs when processes are perpetually blocked as each awaits resources held by the others, which defines option (a).

Step-by-step explanation:

A deadlock is a situation in a system where a set of processes are blocked because each process is holding a resource and waiting for another resource held by another process.

Answering the question, a set of processes is in deadlock if (a) each process is blocked and will remain so forever. This situation is a result of cyclical resource holding where no process can proceed, and there is no process available that can wake up and release resources for use by others.

User McLeopold
by
7.5k points