answersLogoWhite

0


Best Answer

A deadlock is a situation wherein two or more competing actions are waiting for the other to finish, and thus neither ever does. It is often seen in a paradox like 'the chicken or the egg'. " When two trains approach each other at a crossing, both shall come to a full stop and neither shall start up again until the other has gone.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How deadlock deals with operating system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

What is safety algorithms in operating system?

safety algorithm is algo which is used for deadlock avoidance.


What are the differences between deadlock avoidance and deadlock prevention in operating systems?

Deadlock Prevention: o Preventing deadlocks by constraining how requests for resources can be made in the system and how they are handled (system design). o The goal is to ensure that at least one of the necessary conditions for deadlock can never hold. * Deadlock Avoidance: o The system dynamically considers every request and decides whether it is safe to grant it at this point, o The system requires additional apriori information regarding the overall potential use of each resource for each process. o Allows more concurrency. Similar to the difference between a traffic light and a police officer directing traffic. * Deadlock deduction:- Often, neither avoidance nor deadlock prevention may be used. Instead deadlock detection and process restart are used by employing an algorithm that tracks resource allocation and process states, and rolls back and restarts one or more of the processes in order to remove the deadlock. Detecting a deadlock that has already occurred is easily possible since the resources that each process has locked and/or currently requested are known to the resource scheduler or OS. Detecting the possibility of a deadlock before it occurs is much more difficult and is, in fact, generally undecidable, because the halting problem can be rephrased as a deadlock scenario. However, in specific environments, using specific means of locking resources, deadlock detection may be decidable. In the general case, it is not possible to distinguish between algorithms that are merely waiting for a very unlikely set of circumstances to occur and algorithms that will never finish because of deadlock. Deadlock detection techniques include, but is not limited to, Model checking. This approach constructs a Finite State-model on which it performs a progress analysis and finds all possible terminal sets in the model. These then each represent a deadlock.


Would an operating system be an information system or an embedded system?

If you are talking about a P.C (or Mac) operating system, then it would be an information system. An embedded system is something like that in a modern washing machine. It only deals with a pre- set range of parameters, and is often run on specifically designed hardware, with the memory containing the "system" physically attached to the chip.


Explain all types of operating system with diagram?

There are basically four types of operating systems. They include Batch Operating System, Multiprogramming Operating System, Network Operating System and Distributed Operating System.


What are 5 Classification of each operating system?

1. BATCH PROCESSING operating system 2. MULTIPROGRAMMING operating system 3. TIME SHARING operating system 4. REAL TIME operating system 5. DISTRIBUTED operating system

Related questions

What is safety algorithms in operating system?

safety algorithm is algo which is used for deadlock avoidance.


Name the part of the operating system which deals with files on backing storage?

the answer to that is filing system


What is the difference among deadlock avoidance detection and prevention?

Deadlock avoidance involves ensuring that the system never enters a deadlock state by using techniques like resource allocation strategies (e.g., Banker's algorithm) to ensure that resources are allocated in a way that avoids deadlock. Deadlock detection, on the other hand, involves periodically checking the system to see if a deadlock has occurred after it has happened. Deadlock prevention focuses on designing algorithms and protocols in a way that eliminates one of the conditions necessary for deadlock to occur, such as by ensuring that resources are requested in a specific order.


What is deadlock in rdbms?

Deadlock in a relational database management system (RDBMS) occurs when two or more transactions are unable to proceed because each is waiting for resources that the other transaction holds. This creates a deadlock situation where transactions are effectively stuck and unable to complete. Deadlocks can lead to system performance degradation and require intervention to resolve them.


Deadlock deterioates affect system performance?

how dealocks affects the system


Advantage and disadvantage of deadlock prevention?

Advantage: Deadlock prevention techniques eliminate the possibility of deadlock occurring in a system, ensuring system availability and preventing resource wastage. Disadvantage: Deadlock prevention techniques may lead to reduced system performance or resource utilization, as they often involve overhead in terms of additional checks or restrictions on resource allocation.


What is deadlock what is starvation How do they differ from each other?

A deadlock occurs when two (or more) threads have created a situation where they are all blocking each other. ... Starvation occurs when a scheduler process (i.e. the operating system) refuses to give a particular thread any quantity of a particular resource (generally CPU).


What is false deadlock?

the coordinator conculde incorrectly that a deadlock exist and kills some process --------------------------- Detecting a non existent deadlock in distributed system has been referred as false deadlock and it may occur due to communication delay.. ---->Ashok Paranjothi


What is the difference between deadlock prevention and deadlock avoidance?

DEADLOCK PREVENTION:Preventing deadlocks by constraining how requests for resources can be made in the system and how they are handled (system design).The goal is to ensure that at least one of the necessary conditions for deadlock can never hold.DEADLOCK AVOIDANCE:The system dynamically considers every request and decides whether it is safe to grant it at this point,The system requires additional apriori information regarding the overall potential use of each resource for each process.Allows more concurrency.


What are the differences between deadlock avoidance and deadlock prevention in operating systems?

Deadlock Prevention: o Preventing deadlocks by constraining how requests for resources can be made in the system and how they are handled (system design). o The goal is to ensure that at least one of the necessary conditions for deadlock can never hold. * Deadlock Avoidance: o The system dynamically considers every request and decides whether it is safe to grant it at this point, o The system requires additional apriori information regarding the overall potential use of each resource for each process. o Allows more concurrency. Similar to the difference between a traffic light and a police officer directing traffic. * Deadlock deduction:- Often, neither avoidance nor deadlock prevention may be used. Instead deadlock detection and process restart are used by employing an algorithm that tracks resource allocation and process states, and rolls back and restarts one or more of the processes in order to remove the deadlock. Detecting a deadlock that has already occurred is easily possible since the resources that each process has locked and/or currently requested are known to the resource scheduler or OS. Detecting the possibility of a deadlock before it occurs is much more difficult and is, in fact, generally undecidable, because the halting problem can be rephrased as a deadlock scenario. However, in specific environments, using specific means of locking resources, deadlock detection may be decidable. In the general case, it is not possible to distinguish between algorithms that are merely waiting for a very unlikely set of circumstances to occur and algorithms that will never finish because of deadlock. Deadlock detection techniques include, but is not limited to, Model checking. This approach constructs a Finite State-model on which it performs a progress analysis and finds all possible terminal sets in the model. These then each represent a deadlock.


What is Political Deadlock?

Political deadlock is a situation where competing political parties have equal representation in the political system making it impossible for decisions to be made.


Would an operating system be an information system or an embedded system?

If you are talking about a P.C (or Mac) operating system, then it would be an information system. An embedded system is something like that in a modern washing machine. It only deals with a pre- set range of parameters, and is often run on specifically designed hardware, with the memory containing the "system" physically attached to the chip.