CSE Dept Engineering Topics List

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

This implies that each process is holding one resource and is waiting for one more. Since there are three processes and four resources, one process must be able to obtain two resources.

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

Once deadlock has been detected in the system, the deadlock must be broken by removing one or more of the four necessary conditions.

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

Deadlock detection is the process of determining that a deadlock exists and identifing the processes and resources involved in the deadlock.

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

Deadlock avoidance depends on additional information about the long term resource needs of each process. The system must be able to decide whether granting a resource is safe or not and only make the allocation when it is safe.

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

To prevent a deadlock, the OS must eliminate one of the four necessary conditions. 1. Mutual exclusion, 2. Hold and wait, 3. No preemption, 4. Circular wait

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

There are four approaches for deadlock solution.1. Deadlock prevention, 2. Deadlock avoidance, 3. Deadlock detection, 4. Deadlock recovery

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

Following four conditions are necessary for deadlock to exist. 1. Mutual exclusion, 2. No preemption, 3. Hold and wait, 4. Circular wait

Deadlock - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(b): Deadlock

A lack of process synchronization can result in two extreme conditions are deadlock or starvation. Deadlock is the problem of multiprogrammed system.

Process Management - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(a): Process Management

A process is simply a program in execution. i.e. an instance of a program. execution. PCB maintains pointer, state, process number, CPU register, PC, memory allocation etc.

Process Management - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(a): Process Management

Monitor is an object that contains both data and procedures needed to perform allocation of a shared resource. It is a programming language construct that support both data access synchronization and control synchronization.

Process Management - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(a): Process Management

Dinning philosophers problem is one of classical process synchronization problem. Here five philosophers are seated around a circular table. They spend their lives in thinking and eating.

Process Management - Introduction to Operating Systems

Subject and UNIT: Introduction to Operating Systems: Unit II(a): Process Management

Semaphore is described by Dijkstra. Semaphore is a nonnegative integer variable that is used as a flag. Semaphore is an operating system abstract data type.