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 Men and Women Process Pain Differently

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

PERSONAL STORIES

Blog banner

Principal of concurrency

Blog banner

Deadlock in operating system

Blog banner

Virtual Machine

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

Cyber Security in Data Breaching

Blog banner

File management

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

Every body is beautiful

Blog banner

"Geographic Information Systems (GIS) and its Applications in Urban Planning"

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

CBSE + International Thinking: How Indian Schools Are Producing World-Ready Students

Blog banner

Virtual Memory

Blog banner

Deadlock

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

Multithreading in Operating System

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

Direct memory access

Blog banner

File Systems in OS.

Blog banner

Cache memory

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Process, process creation and process termination

Blog banner

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

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Threat from Inside: Educating the Employees Against Cyber Threats

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

What is 'Multi-core and Multi-threading' ?

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

LTE Technology

Blog banner

Making Money through Instagram

Blog banner

IT service level agreement

Blog banner

First-Order Logic (FOL): The Foundation of Modern Logic

Blog banner

Memory Management

Blog banner

Modern Operating System

Blog banner