answersLogoWhite

0


Best Answer

DEADLOCK:
1) Deadlock process is permanently blocked because the required resource never becomes available.
2) The resource under contention is not in continuous use.

STARVATION:
1) In starvation, it is not certain that a process will ever get the requested resources.
2) the resource under contention is in continuous use.

User Avatar

Wiki User

βˆ™ 11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between starvation and deadlock in os?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between Os and unix?

No difference, really. Unix is an OS (Operating System)


What is the difference between os and nos?

Basically there is not a whole lot of difference between OS and NOS. In common usage OS or Operating System is concerned with one computer. That is the simplified answer. An OS can have NOS features when it interfaces with other computers.


What is the difference between gate valve and OS and Y valve?

OS and Y stands for Opposed Stem and Yoke.


What is the difference between OS and data hard drives?

There's no difference other than what's on them.


What is the difference between apple OS and Linux?

Apple is more popular Linux is ok OS is Crap. There you go! You got an answer!


What is the difference between the GCF and the LCM os 24 and 120?

120 - 24 = 96


What is difference between protection and security in os?

security isfeature andprotraction is fromthreads


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 are the differences between various operating systems?

difference between layered and kernel base approach in OS structure


What is difference between sdk and os?

SDK is a Software Development Kit used to create applications. OS is an Operating System and is the platform which applications run on.


What is the difference between Mac OS and Windows?

In a word: Quality. Design is not just how it looks, it is how it works -


Difference between conventional OS and embedded OS?

Conventional OS aim to give users the ability to run other software that are interactive in nature to perform different tasks. On the other hand, embedded OS only run fixed set of tasks and deliver the expected results in real time.