wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

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

The seven-step improvement process

Blog banner

Study of Backdoor and Trojan tools

Blog banner

Social Engineering Attacks

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

Traditional Unix System

Blog banner

Personalised Name Labels vs. Handwritten Stickers: Which Is Better for Your Child’s School Essentials?

Blog banner

Why Personalized Return Gifts Are the Perfect Choice for Every Kid’s Birthday Party?

Blog banner

Race condition

Blog banner

K-means use cases

Blog banner

Why Businesses Are Investing More in Automation than Advertising?

Blog banner

Os assignment

Blog banner

How Music Helps Children Develop Memory, Rhythm, and Language

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

A True Friendship

Blog banner

FIREWALL

Blog banner

Computer Security

Blog banner

Evolution of the Microprocessor ~ Aditya Pai

Blog banner

GraphQL

Blog banner

Why Dry Fruits Make the Perfect Gifting Choice for Every Occasion?

Blog banner

Broken Authentication Attacks

Blog banner

File system implementation

Blog banner

Explain website hacking issues

Blog banner

memory management

Blog banner

This is my first blog.

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

R Programming

Blog banner

Compromising Mobile Platforms

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Session Hijacking Techniques

Blog banner

Be you

Blog banner

RACI model in IT services

Blog banner

"Games and the future"

Blog banner

Benefits and drawback of web security.

Blog banner

Education?

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Virtual machine.

Blog banner

How to write a cover letter

Blog banner

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner

Steganography

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

Buffering

Blog banner

Mesh Topology

Blog banner