Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions