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

Threads and concurrency

Blog banner

Deadlock in operating system

Blog banner

Cache Memory

Blog banner

Uniprocessor Scheduling

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

ONLINE NEWSROOMS

Blog banner

Understanding Toddler Tantrums: What They Really Mean

Blog banner

Service Operations in ITSM

Blog banner

Veg Mix Pickle

Blog banner

Operating system and overviews

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Proof-of-Stake (PoS)

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

WomenEmpowerment

Blog banner

Threads

Blog banner

Routers

Blog banner

Technical SEO : Total Guide

Blog banner

COMMUNICATION

Blog banner

Direct memory access

Blog banner

Tableau

Blog banner

Concept and definition of m-commerce

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

Virtual Memory

Blog banner

Why Does Hierarchy Still matter in Organizations?

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

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

Blog banner

Session Hijacking Techniques

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner

Operating system evolution

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

How to Compare Schools Before an Admission Decision

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

Memory management and virtual memory

Blog banner

Concurrency and memory

Blog banner

gis substation

Blog banner

Memory management

Blog banner

Short note on Microsoft office

Blog banner