Process Synchronization – II (atomic operations)

Let us continue our discussion from the previous post, where we discussed a software solution to the Critical section problem. Here, we discuss about a simple hardware solution to the critical section problem, followed by a discussion on  atomic operations like test_and_set() and compare_and_swap().SYNCHRONIZATION HARDWARE Peterson’s solution → software based Read More …