The processes are in deadlock when?

  • AThe first process locks the first resource at the same time as the second process locks the second resource
  • BAll processes terminate
  • CAll processes blocked
  • DAll processes try to kill each other
Show answerHide answer

Correct answer C

A deadlock is a situation in which two or more processes are blocked indefinitely, each waiting for the other to release a resource. In this scenario, the processes are said to be in a deadlock because they are unable to proceed due to resource constraints.