Skip to content

Tag Archives: Operating Systems-Process Management

Pre-requisites: Monitors in Process Synchronization In the field of Computer Science and OS, Mutex, and Monitor are most of the important fundamental mechanisms which are… Read More
Pre-requisites: Process Synchronization In an operating system, everything is around the process. How the process goes through several different states. So in this article, we… Read More
Pre-requisites: Memory Management in Operating System To increase CPU utilization in multiprogramming, a memory management scheme known as swapping can be used. Swapping is the… Read More
In this post, we will see the Host Operating System versus Guest Operating System. But, before we get into the differences, it’s important to understand… Read More
This tutorial assumes that the reader has a basic knowledge of socket programming, i.e has a familiarity with basic server and client models. In the… Read More
Fork System Call: The fork system call is used for creating a new process, which is called the child process, which runs concurrently with the… Read More
In this article, we will discuss how to wake up a std::thread while it is sleeping. It is known that a thread can’t be exited… Read More
The producer-consumer problem is an example of a multi-process synchronization problem. The problem describes two processes, the producer and the consumer that shares a common… Read More
1. Process: Process is an activity of executing a program. Process is of two types – User process and System process. Process control block controls… Read More
Process: A process is an activity of executing a program. Basically, it is a program under execution. Every process needs certain resources to complete its… Read More
In this article, we will see number of classical problems of synchronization as examples of a large class of concurrency-control problems. In our solutions to… Read More
Prerequisite: Zombie and Orphan Processes in C Zombie Process: A zombie process is a process that has completed execution but still has an entry in… Read More
A certain computation generates two arrays a and b such that a[i]=f(i) for 0 ≤ i < n and b[i]=g(a[i]) for 0 ≤ i <… Read More
A shared variable x, initialized to zero, is operated on by four concurrent processes W, X, Y, Z as follows. Each of the processes W… Read More
A shared variable x, initialized to zero, is operated on by four concurrent processes W, X, Y, Z as follows. Each of the processes W… Read More

Start Your Coding Journey Now!