Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Is it possible to have a deadlock involving only one process? Explain your answer.

user-image
Question added by Emad Mohammed said abdalla , ERP & IT Software, operation general manager . , AL DOHA Company
Date Posted: 2014/11/21
Emad Mohammed said abdalla
by Emad Mohammed said abdalla , ERP & IT Software, operation general manager . , AL DOHA Company

Deadlock with one process is not possible. Here is the explanation.

A deadlock situation can arise if the following four conditions hold simultaneously in a system.

  • Mutual Exclusion.
  • Hold and Wait.
  • No Preemption.
  • Circular-wait.

It is not possible to have circular wait with only one process, thus failing a necessary condition for Circular wait. There is no second process to form a circle with the first one. So it is not possible to have a deadlock involving only one process.

More Questions Like This