wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

profile
Ishita Thummar
Jul 11, 2023
0 Likes
0 Discussions
66 Reads

Deadlock in the Operating System 

Every process needs some resources to complete its execution. However, the resource is granted in a sequential order.

  1. The process requests some resources.
  2. OS grants the resource if it is available otherwise let the process waits.
  3. The process uses it and releases it on completion.

A Deadlock is a situation where each of the computer processes waits for a resource that is being assigned to another process. In this situation, none of the process gets executed since the resource it needs, is held by some other process that is also waiting for some other resource to be released.

  1. Mutual Exclusion

A resource can only be shared in a mutually exclusive manner. It implies that two processes cannot use the same resource at the same time.

  1. Hold and Wait

A process waits for some resources while holding another resource at the same time.

  1. No preemption

The process once scheduled will be executed till the completion. No other process can be scheduled by the scheduler meanwhile.

  1. Circular Wait

All the processes must be waiting for the resources in a cyclic manner so that the last process is waiting for the resource which is being held by the first process.

 


Comments ()


Sign in

Read Next

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

URL vs Domain

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Emerging threats in cyber Forensics

Blog banner

PROCESS STATE:

Blog banner

History of Money

Blog banner

Office Lunch Problems in Mumbai and How Tiffin Services Solve Them

Blog banner

Cache memory

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Virtual Memory

Blog banner

Vulnerability Assessment

Blog banner

Building a Better You: Fitness Tips and Inspiration.

Blog banner

Deadlock

Blog banner

Virtual memory

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

Monday. com App

Blog banner

Brain wash of social media

Blog banner

Breaking the Cycle of Loneliness : Protecting your Mental Health Through meaningful Connection ( Part — 2)

Blog banner

Buffering

Blog banner

VIRTUAL MACHINE

Blog banner

Kafka - A Framework

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

BIRYANI ! The history you never knew about

Blog banner

Chicken Dum Biryani

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

INTERNET

Blog banner

Importance Of Time

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

RAID

Blog banner

Culture Of Ladakh

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

From Websites To Super Apps For Digital User Experience

Blog banner

An Overivew Of Cache Memory

Blog banner

MOVEMBER

Blog banner

Danger assessment in GIS

Blog banner

Women empowerment

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

The Khan mehtab transforming the modular switches

Blog banner

Virtualisation

Blog banner