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

ITIL Version 3 and 4 differenciation?

Blog banner

The Role of Summer Camps in Early Childhood Development

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Blockchain technology: security risk and prevention

Blog banner

How Much Protein Do You Really Need Every Day?

Blog banner

Data Mapping

Blog banner

Data Security must be your Priority!

Blog banner

E-Cash (Electronic Cash)

Blog banner

Direct Memory Access

Blog banner

CRISP-DM Methodology

Blog banner

UniProcessor Scheduling

Blog banner

Memory Management in an Operating System

Blog banner

What if COVID does not exist!

Blog banner

Who decides your overthinking, anyway?

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Understanding Toddler Tantrums: What They Really Mean

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

RAID_142

Blog banner

Health and fitness

Blog banner

Wrike

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

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

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

Deadlock in operating system

Blog banner

Threads

Blog banner

LinkedIn

Blog banner

Memory Management of Operating System(OS)

Blog banner

On-Page SEO

Blog banner

operating system

Blog banner

Importance of modern technology era

Blog banner

Ubiquitous Computing

Blog banner

BharatPe

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

Zoho

Blog banner

De-Coding Love

Blog banner

Vulnerability Assessment

Blog banner

Exploring the Power of Encase Forensic Tools: Unraveling Digital Mysteries

Blog banner

IoT Evolution

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Importance Of Time

Blog banner

Why Businesses Are Investing More in Automation than Advertising?

Blog banner

What is Virtual Memory

Blog banner