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

How to Plan a Week of Healthy Meals Without Stress

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Data Mining

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

Buffers in Operating Systems

Blog banner

Domain Name System

Blog banner

The evolution of OS

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

In the world of Technology...

Blog banner

Deadlock

Blog banner

Models of Information Security.

Blog banner

Cloud Security: Trends and Innovations

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Developments in Modern Operating Systems

Blog banner

Virtual memory

Blog banner

What is M-commerce and how it's work

Blog banner

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

Blog banner

Cherish the Craft — Essential Tips to Maintain Your Patola Collection

Blog banner

GIS Mapping

Blog banner

EID UL FITR

Blog banner

Annual Day Preparation for Toddlers: What Helps and What to Avoid

Blog banner

A Journey By Train

Blog banner

Predictive Analysis - Ek Overview

Blog banner

Session Vulnerabilities

Blog banner

How to grow followers on Instagram business account?

Blog banner

Goa Trip With Friends

Blog banner

Paginng In OS

Blog banner

RAID and It's Levels

Blog banner

Incident management in ITSM

Blog banner

What is a Malware ?

Blog banner

(Input/Output) in os

Blog banner

Metasploit

Blog banner

Social Media Sentiment Analysis

Blog banner

Principles of Concurrency

Blog banner

Service Transition Process in ITSM

Blog banner

Article on team management software

Blog banner

Memory management

Blog banner

Social Engineering Attacks

Blog banner

Threat management

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

FRIENDSHIP

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner