System Calls Before getting into threads, we have to first understand what are system calls. Let us first understand, how memory looks in the computer system and where Operating System code is pre
Read MoreDeadlock We have previously discussed semaphores and other solutions to the critical section problem or producer-consumer problem and during that, if we go deeper, there are such cases which can lead
Read MoreSummary of every problem and its solution we have previously discussed At first, we have a problem called producer-consumer problem and we will end up having a robust solution named as semaphores. I
Read MoreSemaphore A Semaphore is nothing, but an integer variable (say "S") that after initialization; it can only be accessed by two standard atomic operations: wait(S): Its main task is to decrease the val
Read MoreProcess Synchronization The task of process synchronization is achieved in operating systems with the help "Shared Memory". Question: What is Shared Memory? Answer: It is defined as the region in m
Read MoreInter-Process Communication When there are situations when different processes running on a system wants to communicate with each other in order to pass some data or for other means then there needs
Read MoreCPU Scheduling It is nothing, but picking up a process from the "Ready State" and then giving it to the CPU for its work completion. Question: Why picking up from the ready state? Answer: Becau
Read MoreProcess Times There are several times related to a process and we are going to cover each of them and going to learn why they exist and why they are important for CPU scheduling. Arrival Time (A
Read More