wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock

profile
Amrita Mishra
Aug 14, 2024
0 Likes
1 Discussions
151 Reads

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.

How Does Deadlock occur in the Operating System?

Before going into detail about how deadlock occurs in the Operating System, let’s first discuss how the Operating System uses the resources present. A process in an operating system uses resources in the following way. 

Requests a resource 

Use the resource 

Releases the resource 


Comments ()


Sign in

Read Next

(Input/Output) in os

Blog banner

MailChimp

Blog banner

The functions of operating system

Blog banner

Technical SEO : Total Guide

Blog banner

Memory Management in an Operating System

Blog banner

TEAMWORK

Blog banner

What is Virtual Memory

Blog banner

Process in OS

Blog banner

Know your Processors!

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner

Full Disk Encryption

Blog banner

GIS

Blog banner

Swiggi

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

AOL Mail

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

A Deep Dive

Blog banner

Understanding Business Layer in Data Science

Blog banner

Understanding Gen Z: A Generation Facing Crisis and Potential

Blog banner

Importance of self defence for girls

Blog banner

social media issue

Blog banner

Hacking Mobile Platforms

Blog banner

GIS info about Bermuda Triangle

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Multithreading in Operating System

Blog banner

Buffer Overflow

Blog banner

Supervised and unsupervised learning

Blog banner

The Psychology of Diversity, Equity & Inclusion: How Inclusive Workplaces Boost Productivity

Blog banner

Introduction to GIS

Blog banner

A Journey By Train

Blog banner

Hacking

Blog banner

Global versus Indian Mental Health Differences

Blog banner

Retiring ISS

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

Buffering

Blog banner

Virtual memory

Blog banner

Working with Sniffers for monitoring network communication

Blog banner