Skip to content

Tag Archives: Process Synchronization

Prerequisites — Readers-Writers Problem | Set 1 (Introduction and Readers Preference Solution), Semaphores in Process Synchronization In Process-synchronization, there is a very classical synchronization problem… 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
Prerequisite – Race Condition Vulnerability When two concurrent threads in execution access a shared resource in a way that it unintentionally produces different results depending… Read More
Process Synchronization problems occur when two processes running concurrently share the same data or same variable. The value of that variable may not be updated… Read More
In this article, we are going to cover the Concurrent Program in the Operating System and will make a Precedence Graph for the program, and… Read More
Prerequisite – Process Synchronization Fork : The fork instruction is the that instruction in the process execution that produces two concurrent executions in a program.… Read More
Prerequisite – Introduction of Process Synchronization PARBEGIN/PAREND statement is a higher-level language construct for specifying concurrency. All statements can be executed concurrently those are enclosed between… Read More
Prerequisite – Process Synchronization Precedence Graph is a directed acyclic graph which is used to show the execution level of several processes in operating system.… Read More
Prerequisite – Process Synchronization Concurrency is the execution of the multiple instruction sequences at the same time. It happens in the operating system when there are… Read More
1. Deadlock Prevention : Deadlock prevention means to block at least one of the four conditions required for deadlock to occur. If we are able to… Read More
Pipes are a type of IPC (Inter-Process Communication) technique that allows two or more processes to communicate with each other by creating a unidirectional or… Read More
During concurrent execution of processes, processes need to enter the critical section (or the section of the program shared across processes) at times for execution.… Read More
Both semaphores and monitors are used to solve the critical section problem (as they allow processes to access the shared resources in mutual exclusion) and… Read More
Distributed System is a collection of computers connected via a high-speed communication network. In the distributed system, the hardware and software components communicate and coordinate… Read More