wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

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

Raid

Blog banner

Drawing tips for a beginner

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

Importance of Education

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

GOOGLE

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

virtual machine

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Deadlock and starvation in operating system

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

Business Intelligence v/s Big Data

Blog banner

Topic: Sessions in Operating system

Blog banner

Understanding Regression Analysis

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

Ransomware

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Virtual machine.

Blog banner

File sharing

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

Cache memory

Blog banner

Supervised and unsupervised learning

Blog banner

OS Assignment-3

Blog banner

Service stratergy principles

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

Save Girl Child

Blog banner

Understanding the 'Ambiverts'

Blog banner

How Preschools Help Children Make Their First Friends

Blog banner

LIMITED EDITION

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

Security in Cloud Computing

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

Linux

Blog banner

Puri Jagannath temple

Blog banner

Social media

Blog banner

Concurrency and Deadlocks

Blog banner

Boxing

Blog banner