Process Synchronization – IV – Mutex and Semaphores

In the previous post, we discussed a solution to the Critical Section problem using test_and_set() atomic instruction which satisfied all the three requirements mandated for a correct solution. In this post, we shall start with software-based solutions designed to solve the critical section problem. This is necessary, because hardware-based solutions Read More …