What are three requirements of any solution to the critical sections problem? Why are the requirements needed?

      

What are three requirements of any solution to the critical sections problem? Why are the
requirements needed?

  

Answers


Faith
i. Mutual Exclusion – One thread cannot access the critical region while another is inside.
ii. Progress – The critical sections solution must not impede an entire thread’s progress, halting the CPU.
iii. Boundedness – We shall not starve any process, the resource must be freed so that each thread can
access the critical region fairly.
Titany answered the question on April 26, 2022 at 05:22


Next: What is a critical region? How do they relate to controlling access to shared resources?
Previous: Why is turn passing a poor solution to the critical sections problem?

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


Exams With Marking Schemes

Related Questions