wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlocks in Operating System

profile
Heet Chothani
Aug 16, 2024
0 Likes
0 Discussions
93 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

Why Soft Skills Matter as Much as Grades?

Blog banner

Buffers in Operating Systems

Blog banner

RAID_142

Blog banner

Virtual memory in os

Blog banner

Explain website hacking issues

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Operating system

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

RAID

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

My First Dream Bike

Blog banner

Firewall in Computer Network

Blog banner

Buffer Overflow

Blog banner

AI and Cyber Security

Blog banner

Policies for Service Transition

Blog banner

Theads

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

I/O Buffering

Blog banner

What is a Dumpster Diving Attack?

Blog banner

HR Automation : Need of the hour

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

Challenges of Digital forensics in cloud computing environment

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Risk mitigation and management

Blog banner

Service design process in ITSM

Blog banner

Riddhi Miyani 53003220140

Blog banner

Cache memory

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Rain bow

Blog banner

Pooja Silver

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

All you need to know about Website Traffic

Blog banner

Real Time Scheduling

Blog banner

PERT Overview

Blog banner

OPERATING SYSTEM

Blog banner

Not anti-social, but pro-solitude

Blog banner

Deadlock

Blog banner

Types of Malware in Cyber Security

Blog banner

Scheduling

Blog banner

RAID - LEVELS OF RAID

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner