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

Information of meesho company

Blog banner

Kernel in Operating System

Blog banner

semaphores in os

Blog banner

Odoo

Blog banner

social media issue

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

Multiprocessor

Blog banner

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

Data carving - using hex editor

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

E-Governance

Blog banner

Scheduling in Operating Systems

Blog banner

OS ASSIGNMENT

Blog banner

Operating system

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

american greatines

Blog banner

SQL Injection

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

12 Principles of Animation

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

Retiring ISS

Blog banner

Dancing Classes In Mumbai

Blog banner

Uniprocessor scheduling

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

Life

Blog banner

How to write a cover letter

Blog banner

Computer Security

Blog banner

The evolution of OS

Blog banner

GIS info about Bermuda Triangle

Blog banner

Fitness regime by Deepesh

Blog banner

Dental Problems That Start Small But Should Never Be Ignored

Blog banner

Deadlock in Operating System

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

Depression

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Importance Of Education.

Blog banner

Uniprocessor Scheduling

Blog banner

Southern Turkey Earthquake: Causes and Consequences of a Tragic Natural Disaster

Blog banner

Virtual machine and virtualizing

Blog banner

Women Empowerment

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner