Get premium membership and access questions with answers, video lessons as well as revision papers.

What is deadlock? What is starvation? How do they differ from each other?

      

What is deadlock? What is starvation? How do they differ from each other?

  

Answers


Faith
Deadlock is the phenomenon that arises when a number of concurrent processes all become blocked
waiting for another thread to make available a resource, but it can only be released by a thread that is
still blocked. Starvation is the phenomenon which arises when a process does not ever receive the
resource it is waiting for, even if it repeatedly becomes available, as it is always allocated to another
waiting process.
Processes halt in deadlock because they cannot proceed and the resources are never made available.
Therefore, no progress can be made. With starvation, progress is made overall at the expense of a
particular process or processes, which consistently miss out on being allocated their requested resource.
Titany answered the question on April 26, 2022 at 09:21


Next: What are monitors and condition variables?
Previous: What are the four conditions required for deadlock to occur?

View More Operating Systems Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions