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

Steganography and Steganalysis

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

An Overivew Of Cache Memory

Blog banner

Harsh Rathod

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

Importance of internet

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

Memory Management

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Life of an army person

Blog banner

Virtual memory in windows

Blog banner

Education: Key to your Prosperity

Blog banner

Concept and definition of m-commerce

Blog banner

Data Lake

Blog banner

Explaining Buffer Overflow with Example

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

SQL Injection Techniques

Blog banner

Landslide Hazard

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

Amazon

Blog banner

Short note on expert system

Blog banner

Blockchain

Blog banner

Webmail

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

Memory managment

Blog banner

Deadlock and starvation

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

Benefits of yoga and meditation

Blog banner

Threats To Computer System

Blog banner

Install Ubuntu in Vmware

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

Incident management in ITSM

Blog banner

Internet of Things and cyber security

Blog banner

Game Theory in Blockchain

Blog banner

Principles of Service Operation

Blog banner

Having passion in life

Blog banner

Europe Through My Lens

Blog banner

About myself

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Processing Crime and Incident Scenes

Blog banner

Mesh Topology

Blog banner