wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

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

Use case of K-means clustering

Blog banner

Why Skipping Afternoon Meals Affects More Than Just Your Hunger?

Blog banner

Raid and levels of raid.

Blog banner

How To Implement Search Engine Marketing (Sem) Strategy Effectively

Blog banner

Image Steganalysis in Digital Forensics

Blog banner

BITCOIN WALLET

Blog banner

Processing Crime and Incident Scenes

Blog banner

Modern operating system

Blog banner

Segmentation and paging concept

Blog banner

IT RISK

Blog banner

Linux VServer Architecture

Blog banner

Install Ubuntu in Vmware

Blog banner

Seasonal Eating in the City: Why Your Tiffin Menu Should Change with Mumbai’s Weather

Blog banner

Note Taker App

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

IT security management

Blog banner

Google classroom

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

GIS Mapping

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Service design process in ITSM

Blog banner

How Music Helps Children Develop Memory, Rhythm, and Language

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

What is service level Agreement?

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Travel: Everything Everywhere!

Blog banner

How Preschools Help Children Make Their First Friends

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Microsoft Windows Overview

Blog banner

SAVE TREES

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

The launch of UniMap by HERE

Blog banner

Virtual machine and virtualizing

Blog banner

How return on investment is defined in IT services

Blog banner

KASHMIR TRIPS

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

Study of Sniffing Tools

Blog banner