What are three requirements of any solution to the critical sections problem? Why are the
requirements needed?
Answer:
-Mutual Exclusion – One thread cannot access the critical region while another is inside.
Progress – The critical sections solution must not impede an entire thread’s progress, halting the CPU.Boundedness – We shall not starve any process, the resource must be freed so that each thread can access the critical region fairly