wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock

profile
Meet Kothari
Aug 15, 2024
0 Likes
0 Discussions
61 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

How can parents support a child’s mental health?

Blog banner

5 Common Faults In Construction Tenders

Blog banner

FRIENDSHIP

Blog banner

Natural Language Processing(NLP)

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

INTRANET

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Some facts about Technology

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

What is OS Fingerprinting?

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

Footprinting

Blog banner

MYNTRA

Blog banner

FASHION

Blog banner

Getting into Anime

Blog banner

Is Your Password Complex Enough?

Blog banner

Virtual Machine

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Cherish the Craft — Essential Tips to Maintain Your Patola Collection

Blog banner

Race Condition

Blog banner

KPMG (Klynveld Peat Marwick Goerdeler)

Blog banner

Life of an army person

Blog banner

The Sunny Side of Instagram

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

Deadlock and starvation

Blog banner

Google classroom

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

R Programming

Blog banner

Computer security techniques

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Security and E-mail

Blog banner

UniProcessor Scheduling

Blog banner

Social media

Blog banner

Firewall

Blog banner

Paging

Blog banner

gis substation

Blog banner

Social Media Marketing Trends 2022

Blog banner

Os Virtual Memory

Blog banner

GIS Topography

Blog banner

Zomato (Income Sources)

Blog banner