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

Man is free by the birth .

Blog banner

Heart Fulness Meditation

Blog banner

What is OS and its overview

Blog banner

10 Problems you face if you are an Otaku

Blog banner

rupee

Blog banner

Facebook marketing

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

Pipedrive

Blog banner

Artical on FreshBooks

Blog banner

Shoulders

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

The Sunny Side of Instagram

Blog banner

MAILFENCE

Blog banner

bulk email software

Blog banner

"Audit" In Data Science

Blog banner

Financial Fraud Detection

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

Importance of Network Security Risk

Blog banner

1.1 basic elements

Blog banner

Different Types of Data

Blog banner

Deadlock and starvation

Blog banner

Binary Search Tree (BST) in Data Structure

Blog banner

How to kiss

Blog banner

Oracle Corporation

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Emailing the merger document

Blog banner

Ethical Hacking

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

Domain Name System

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

Direct Memory Access

Blog banner

HubSpot

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Mesh Topology

Blog banner

Disk Management

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

Web Site

Blog banner

38_Exploring The Honeynet Project

Blog banner

Twisted world

Blog banner

History of Money

Blog banner

COMMUNICATION

Blog banner