wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

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

HUBSPOT

Blog banner

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

Kafka - A Framework

Blog banner

Buffer overflow

Blog banner

Study of Sniffing Tools

Blog banner

Twisted world

Blog banner

A little bit of salt is all the hash needs!

Blog banner

Deadlock and starvation

Blog banner

QUANTUM COMPUTING IN SECURITY:A GAME CHANGER IN DIGITAL WORLD

Blog banner

Types of Threads

Blog banner

SQL Injection

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

ASANA- A Management System.

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Cache memory

Blog banner

How Does SSO Works

Blog banner

E-Governance

Blog banner

VIRTUAL MACHINE

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

 " Healing of Yoga "

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Virtual memory

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

GIS

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

What is semaphore in operating system?

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

My First Dream Bike

Blog banner

Man is free by the birth .

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

SECURITY TOOLS

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Visualization in Data Science

Blog banner

Save Girl Child

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

Disk Management

Blog banner

Virtual memory

Blog banner

Junk food vs healthy food

Blog banner