Operating System

What Is An Operating System?

Operating System A computer system has many resources (hardware and software), which may be required to complete a task. Operating System The commonly required resources are input/output devices, memory, file storage space, CPU etc. The operating system acts as a manager of the above resources and allocates them to specific programs and users as necessary …

What Is An Operating System? Read More »

What Is Process Synchronization In Operating System?

Process Synchronization means sharing system resources by processes in a such a way that, Concurrent access to shared data is handled thereby minimizing the chance of inconsistent data. Maintaining data consistency demands mechanisms to ensure synchronized execution of cooperating processes. Process Synchronization was introduced to handle problems that arose while multiple process executions. Some of …

What Is Process Synchronization In Operating System? Read More »

Classical Problem of Synchronization

Classical Problem of Synchronization Problem of Synchronization Following are some of the classical problem faced while process synchronization in systems where cooperating processes are present. Bounded Buffer Problem This problem is generalised in terms of the Producer-Consumer problem. Solution to this problem is, creating two counting semaphores “full” and “empty” to keep track of the current number …

Classical Problem of Synchronization Read More »

What is a Deadlock?

What is a Deadlock? Deadlock is a set of blocked processes, Deadlock holding a resource and waiting to acquire a resource held by another process. How to avoid Deadlocks Deadlock can be avoided by avoiding at least one of the four conditions, because all this four conditions are required simultaneously to cause deadlock. Mutual Exclusion Resources shared such …

What is a Deadlock? Read More »