wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlocks in Operating System

profile
Heet Chothani
Aug 16, 2024
0 Likes
0 Discussions
94 Reads

A deadlock in an operating system is a situation where a group of processes becomes stuck because each process is waiting for a resource that another process in the group is holding. This creates a cycle where no process can continue because each one is dependent on another process in the set to release a resource.



[Deadlock OS mein tab hota hai jab ek group of processes ek doosre ka wait karte reh jaate hain, kyunki har process ko woh resource chahiye hota hai jo doosra process hold kar raha hai. Deadlock ke liye 4 conditions hoti hain: 


1. **Mutual Exclusion**: Ek resource ek time pe sirf ek process ke paas hota hai.

2. **Hold and Wait**: Process ek resource hold karte hue doosre resources ka wait karta hai.

3. **No Preemption**: Resources forcibly liye nahi ja sakte, bas voluntary release hote hain.

4. **Circular Wait**: Ek process doosre ka, doosra teesre ka, aur teesra pehle wale process ka wait kar raha hota hai.


Isko handle karne ke tareeke:


1. **Prevention**: Deadlock hone wali conditions ko avoid karna.

2. **Avoidance**: Aise resource allocate karna ki deadlock na ho.

3. **Detection and Recovery**: Deadlock ko detect karke usko theek karna.

4. **Ignoring**: Kabhi kabhi deadlock ignore bhi kar diya jata hai, agar woh rare ho.


Short mein, deadlocks ko avoid, detect ya recover karke manage kiya jata hai.]


Comments ()


Sign in

Read Next

Operating Systems

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

How to make Pancakes

Blog banner

E-learning in today's world

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Different types of scam Fraud

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Functions of operating system

Blog banner

The most common internet security threats

Blog banner

Veg Mix Pickle

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Deadlocks in operating system

Blog banner

Service Strategy In ITSM

Blog banner

SESSION HIJACKING

Blog banner

BENIFITS OF YOGA

Blog banner

memory management

Blog banner

Functions Of Operating Systems

Blog banner

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

Depression

Blog banner

Components of GIS

Blog banner

OS ASSIGNMENT

Blog banner

Creating Digitally Signed Document

Blog banner

Cycling

Blog banner

Deadlock and Starvation

Blog banner

Gis in agriculture and farming

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

OPERATING SYSTEM

Blog banner

Biometric Authentication and Privacy: Balancing Ethical Concerns

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Compromising Mobile Platforms

Blog banner

GIS Topography

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

Digital Forensics Challenges and Tools

Blog banner

Virtual Memory

Blog banner

Clustering Techniques

Blog banner

Modern operating system

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Danger assessment in GIS

Blog banner

Uniprocessor scheduling

Blog banner

USPS mail

Blog banner

A Short History of GIS

Blog banner

What makes Nugget RC Racing Florida’s Most Exciting Racing Events?

Blog banner