wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock and starvation

profile
Jwala the Beast
Aug 15, 2024
0 Likes
0 Discussions
37 Reads

Deadlock and starvation are two key issues in concurrent computing systems, particularly in operating systems and database management.


**Deadlock** occurs when a set of processes become stuck in a state where each process is waiting for a resource that is held by another process in the set. This creates a cycle of dependencies with no process able to proceed. For example, if Process A holds Resource 1 and is waiting for Resource 2 (held by Process B), while Process B is waiting for Resource 1, neither process can continue, resulting in a deadlock.


**Starvation**, on the other hand, happens when a process is perpetually denied necessary resources to proceed because other processes are continuously being given those resources. This usually occurs due to improper resource allocation policies or scheduling algorithms. For instance, if a high-priority process keeps preempting resources from a lower-priority process, the lower-priority process may never get the resources it needs to complete its task.


Both issues need to be managed through effective resource management strategies, such as deadlock detection and recovery mechanisms, and fair scheduling policies to ensure that all processes get a chance to execute.


Comments ()


Sign in

Read Next

Electronic Evidence in Cyber Forensics

Blog banner

Wedding photographer

Blog banner

Technical SEO : Total Guide

Blog banner

Memory input output management

Blog banner

I/O Buffering

Blog banner

Policies for Service Transition

Blog banner

Challenges of Digital forensics in cloud computing environment

Blog banner

GIS info about Bermuda Triangle

Blog banner

Secure Hypertext transfer protocol

Blog banner

Evolution of OS

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

Buffering

Blog banner

Predicting Student Performance with Data Science

Blog banner

My favourite food

Blog banner

What is Influencer Marketing and its Trends

Blog banner

PERT Overview

Blog banner

E-mail security

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

Process and Threading

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

Technological Advancement

Blog banner

Process in OS

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Deadlock and Starvation

Blog banner

Disk Management

Blog banner

Password Generator - Lisp

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner

The Role of Data Provenance and Lineage in Modern Data Science

Blog banner

Android Flashlight Application

Blog banner

Raid

Blog banner

Elements and Principles of Photography

Blog banner

Traveling

Blog banner

Threat management

Blog banner

memory cache

Blog banner

You'll get to know about Pankaj Negi

Blog banner

Measuring IT Risk

Blog banner

 " Healing of Yoga "

Blog banner

Hosting basics

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

LISP - Library Management System

Blog banner