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

Elegant fashion style

Blog banner

Animal’s have my heart

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Interesting fact about kangaroo.

Blog banner

rupee

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

"Life as a Part-time Student"

Blog banner

MYNTRA

Blog banner

Rock, Paper, Scissors Game in Common Lisp

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

Security in Cloud Computing

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Man In The Middle Attack

Blog banner

Benefits and drawback of web security.

Blog banner

Scheduling in Operating Systems

Blog banner

BIRYANI ! The history you never knew about

Blog banner

Deadlock

Blog banner

Security in Operating Systems

Blog banner

Deadlock

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Evolution of operating system

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

Zomato (Income Sources)

Blog banner

All you need to know about “On-page SEO”

Blog banner

Evolution of Operating Sytems

Blog banner

Modern operating system

Blog banner

Os assignment

Blog banner

RAID - LEVELS OF RAID

Blog banner

Data Mining

Blog banner

Steganography and Steganalysis

Blog banner

What is Spyware?

Blog banner

All you need to know about “Off-page SEO”

Blog banner

Modern operating systems (OS)

Blog banner

Clustering Techniques

Blog banner

Balance

Blog banner

Odoo

Blog banner

MORDERN UNIX SYSTEM

Blog banner

internet email and it's applications

Blog banner

10 Unknown facts about India's Independence

Blog banner

Basic Security For SOAP Services

Blog banner