answersLogoWhite

0

Define deadlock in operating system

Updated: 11/2/2022
User Avatar

Madhurajan

Lvl 1
12y ago

Best Answer

In order for deadlock to occur, four conditions must be true.

  • Mutual exclusion - Each resource is either currently allocated to exactly one process or it is available. (Two processes cannot simultaneously control the same resource or be in their critical section).
  • Hold and Wait - processes currently holding resources can request new resources
  • No preemption - Once a process holds a resource, it cannot be taken away by another process or the kernel.
  • Circular wait - Each process is waiting to obtain a resource which is held by another process.
User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Define deadlock in operating system
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is safety algorithms in operating system?

safety algorithm is algo which is used for deadlock avoidance.


What is General characteristics of optimal operating system?

What exactly do you mean by 'optimal operating system'? If you don't define the term there is no way to answer the question.


Define how operating system is a control program?

operating system is a control program as it allow multiple task to performed on same window.


What are policies that define specific operating system functions?

User Rights


Can you define dos briefly?

DOS is short for disk operating system.


Define dos briefly?

DOS is short for disk operating system.


What is the difference between mode and state?

States define an exact operating condition of a system, where modes define the set of capabilities or functions which are valid for the current operating condition. (Source: http://themanagersguide.blogspot.com.au/2011/01/6322-define-life-cycle-system-modes.html)


Define the relationship between operating system software and utility software?

Operating system software .....OPERATES !! and utility software....UTILIZES !! ..now go do your research .


What does POSIX real time Thread specification define?

"Portable Operating System Inferance (for Unix)


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


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.