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

WAKE UP ITS FOOD o'CLOCK...!!!!!

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Data Analytics in Data Science

Blog banner

Memory management and virtual memory

Blog banner

Smart Eating Habits for Office Professionals to Stay Healthy

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Google App Engine

Blog banner

All you need to know about “Off-page SEO”

Blog banner

How to Avoid being a Victim of Cybercrime

Blog banner

The Psychology of Diversity, Equity & Inclusion: How Inclusive Workplaces Boost Productivity

Blog banner

Service Transition Process in ITSM

Blog banner

File Sharing

Blog banner

Cache Memory in Operating Systems

Blog banner

File management

Blog banner

Os Virtual Memory

Blog banner

Classification Vs Clustring? What's the diffrence?

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

Advantage of freedom

Blog banner

File management

Blog banner

The Sunny Side of Instagram

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

Financial Fraud Detection

Blog banner

Blockchain uses and use cases

Blog banner

Swiggi

Blog banner

Flipkart

Blog banner

Puri Jagannath temple

Blog banner

All you need to know about “On-page SEO”

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

SESSION HIJACKING

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

Direct Memory Access

Blog banner

DBMS and various career options related to it.

Blog banner

Your Guide to Great Flossing, by the best affordable dentist in Maroubra

Blog banner

Outlook mail

Blog banner

Virtual Machine

Blog banner

Evolution of Operating system.

Blog banner

LTE Technology

Blog banner

Life of a 2020-2021 student

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Understanding Toddler Tantrums: What They Really Mean

Blog banner

What Are Electro-Forged Gratings? Benefits, Applications, and Why Industries Prefer Them

Blog banner