Process Synchronization – III – Using atomic instructions to solve Critical Section Problem

In the previous post, we discussed why atomic instructions like test_and_set() and compare_and_swap() were needed. We also discussed two algorithms which satisfied the mutual exclusion requirement, but did not satisfy the bounded waiting requirement. In this post, we shall discuss an algorithm using test_and_set() which satisfies all the requirements listed Read More …

Process Concept – I – Introduction to Processes

In this post, we first get to know what a process is. This will be followed by a discussion on process states. We will get to know about Process Control block, Process Scheduling using Scheduling queues. Discussion on types of schedulers (Short term, medium term and long term). Finally, we Read More …