wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

profile
Ishita Thummar
Jul 11, 2023
0 Likes
0 Discussions
69 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

BENIFITS OF YOGA

Blog banner

Indian Culture and Tradition

Blog banner

File sharing

Blog banner

Interesting fact about kangaroo.

Blog banner

A small world of Sockets

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

Pooja Silver

Blog banner

Steganography

Blog banner

What are NFT s?

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Deadlock

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

Child labour

Blog banner

How to Find the Right Therapist For Me?

Blog banner

Gen Z buys by seeing things online, and why you, as a new company, need to be online

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner

Dudhasagar waterfall ?

Blog banner

Raid

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Social Media Marketing Trends 2022

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

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

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

File Sharing

Blog banner

?What Your Dentist Notices The Moment You Sit In The Chair

Blog banner

Student Grade Calculator in LISP

Blog banner

Predictive Analysis - Ek Overview

Blog banner

Why Dry Fruits Make the Perfect Gifting Choice for Every Occasion?

Blog banner

The Story of Saunf: How This Tiny Seed Became an Everyday Kitchen Favourite

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

How to Add Super Seeds to Your Everyday Meals: Easy & Healthy Ideas

Blog banner

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

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

Understanding Toddler Tantrums: What They Really Mean

Blog banner

Evolution of Operating system.

Blog banner

When Is the Right Time to Enrol My Toddler Into Preschool? NEP

Blog banner

This too shall pass

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

From Websites To Super Apps For Digital User Experience

Blog banner

Deadlock and starvation

Blog banner