wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

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

What is Brute Force Attack? How to defend against it?

Blog banner

I/O buffer and its techniques

Blog banner

Finding Meaning, and Identity : Understanding Existential Concerns and Mental Well-being

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Deadlock

Blog banner

The War With Cold On Earth

Blog banner

A book review

Blog banner

THE DESIRE OF MANY

Blog banner

?What Children Learn Between Activities: The Hidden Learning Moments in a Preschool Day

Blog banner

KAHAWA TEA

Blog banner

OS ASSIGNMENT

Blog banner

Self defence

Blog banner

Explain DBMS in Brief

Blog banner

memory managment

Blog banner

Environmental Management using GIS

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

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

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

WINDOWS I/ O

Blog banner

Studying Denial of service attack using DOSHTTP tool

Blog banner

Understanding Portion Control: How Much Food Do You Really Need?

Blog banner

Memory Management

Blog banner

Sessions In OS.

Blog banner

Virtual Memory

Blog banner

How Cyber Forensics use in AI

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

Deadlocks in Operating System

Blog banner

Deadlock in operating system

Blog banner

File management

Blog banner

Memory managment

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

1 Dentist in Maroubra, Sydney and her 10 obsessions

Blog banner

What is OS Fingerprinting?

Blog banner

Privacy in Social Media and Online Services

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

GIS info about Bermuda Triangle

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Cyber Security in Data Breaching

Blog banner

Constrains in service design

Blog banner