What is the difference among deadlock avoidance, detection
and prevention?

Answer Posted / praveen

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.
Similar to the difference between a traffic light
and a police officer directing traffic.

Is This Answer Correct ?    19 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

absolute path gives the location a file or directory in reference to a rile directory while relative path is a path given file starting from another file. explain?

1233


when affected the system from virus , which paths will be it stored in system ?

1836


Explain the reasons for implementing process migration? How is the process address space handled during process migration?

518


Explain about dynamic memory allocation algorithm?

492


Explain where the system time is stored? In processor or in separate timer ic for that?

441






some os have a tree structure file system that limits the depth of a tree and small number of levels.what limit does this have on user? how does this simplify file system design?

1316


What is LOM and how do you access it?

1923


directories can be implemented either special files that can only be accused in limited ways or can be implemented as ordinary data files. what are advantages and disadvantages of this approach?

1853


Explain the difference between ntfs & fat file systems?

524


Let us suppose one application needs 2GB RAM to run and dependent plugins will be load while running application. Here My doubt is how many processes will create for this application. I know the concept of virtual memory, which will provide RAM on demand. My straight forward question is what is the size of the process and is it single process will create by operating system to complete the task of my application.??? Thanks in Advance.

2053


Explain the process control block of UNIX ?

1236


What is direct mount and indirect monut?

1998


Explain the difference between fat & ntfs?

519


Tell me why register are stored the only binary data?

516


Explain how is the process address space handled during process migration?

484