wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock

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

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Deadlock

Blog banner

Process in OS

Blog banner

Operating system

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Modern operating systems (OS)

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

Modern OS

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Honeypot in cyber security

Blog banner

Deadlock and Starvation

Blog banner

Cache Memory

Blog banner

Koinex is shutting down and here is how you can withdraw...

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Introduction to Virtual Memory - 080

Blog banner

SQL Injection

Blog banner

RAID and It's Levels

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

Types of Hackers

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

NIKE

Blog banner

Blockchain uses and use cases

Blog banner

DISK SCHEDULING

Blog banner

What is a geographic information system (GIS)?

Blog banner

Device driver

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Virtual memory

Blog banner

Mumbai local ......

Blog banner

semaphores

Blog banner

File management In Operating System

Blog banner

Blockchain

Blog banner

The Joy of Giving: How Festivals Teach Children Empathy and Gratitude

Blog banner

Puri Jagannath temple

Blog banner

The Khan mehtab transforming the modular switches

Blog banner

Real Time Scheduling

Blog banner

Street foods

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

Functions of Operating System

Blog banner