wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock

profile
Meet Kothari
Aug 15, 2024
0 Likes
0 Discussions
63 Reads

A deadlock is a situation where a set of processes is blocked because each process is holding a resource and waiting for another resource acquired by some other process. In this article, we will discuss deadlock, its necessary conditions, etc. in detail.

Deadlock is a situation in computing where two or more processes are unable to proceed because each is waiting for the other to release resources. Key concepts include mutual exclusion, resource holding, circular wait, and no preemption.


Consider an example when two trains are coming toward each other on the same track and there is only one track, none of the trains can move once they are in front of each other. This is a practical example of deadlock.

A situation occurs in operating systems when there are two or more processes that hold some resources and wait for resources held by other(s). For example, in the below diagram, Process 1 is holding Resource 1 and waiting for resource 2 which is acquired by process 2, and process 2 is waiting for resource 1.


Comments ()


Sign in

Read Next

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

TEAMWORK

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

Threading

Blog banner

Cherish the Craft — Essential Tips to Maintain Your Patola Collection

Blog banner

LinkedIn

Blog banner

Memory Management in Operating System

Blog banner

E-mail security

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Technological Advancement

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

INTERNET

Blog banner

Digital Marketing

Blog banner

INTERNET SECURITY

Blog banner

Memory managment

Blog banner

Assignment 2

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

File sharing

Blog banner

Process Creation

Blog banner

SESSION HIJACKING

Blog banner

Multicore CPUs

Blog banner

Power of words

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

Evolution of Operating Sytems

Blog banner

Deadlock and Starvation

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

geographic information system (GIS)

Blog banner

Multiprocessor and scheduling

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Mumbaicha Dabbawalla

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

Disk Scheduling

Blog banner

Texting is actually better than talking in person

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Google

Blog banner

Proof-of-Stake (PoS)

Blog banner

The Right way of cooking

Blog banner

Clarizen

Blog banner

Deadlock in Operating System

Blog banner

OS Assignment 3

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner