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

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Threads and concurrency

Blog banner

Buffering

Blog banner

Concurrency and Deadlocks

Blog banner

Study of Sniffing Tools

Blog banner

Data Mapping

Blog banner

BUFFER OVERFLOW_142

Blog banner

Deadlock in operating system

Blog banner

Dos (Denial of service) Attack

Blog banner

E-learning in today's world

Blog banner

PODIO

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

Information Technology In E- Commerce

Blog banner

Old age lifestyle

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

Decoding Modern Assessment: Why We Look Beyond the Grade Sheet

Blog banner

How Does SSO Works

Blog banner

Operating system

Blog banner

RAID

Blog banner

What is Spyware?

Blog banner

Memory input output management

Blog banner

Virtual Memory

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

SPAM

Blog banner

What is OS Fingerprinting?

Blog banner

Google App Engine

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Philadelphia Experiment : Was it real?

Blog banner

Why we fail after giving 100% ?

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

SNAPCHAT

Blog banner

File system

Blog banner

Bharat Maps

Blog banner

Mendeley (management software)

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Threads

Blog banner

Precision-Recall in Data Science

Blog banner