wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock and starvation

profile
Jwala the Beast
Aug 15, 2024
0 Likes
0 Discussions
38 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

RAID

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Fault tolerance

Blog banner

Hubspot

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Direct Memory Access

Blog banner

Way to make your meal healthier.

Blog banner

Busted : Common Web Security Myths

Blog banner

Malware Defense

Blog banner

Artificial Intelligence (AI)

Blog banner

USPS mail

Blog banner

Deming’s Process

Blog banner

Evolution of Operating system.

Blog banner

BrainGate Technology

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Data Warehouse Bus Matrix

Blog banner

Biometric Authentication and Privacy: Balancing Ethical Concerns

Blog banner

DATA SCIENCE IN BUSINESS AND MARKETING

Blog banner

child Labour

Blog banner

How to Run your First android App

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

Operation system

Blog banner

IOT Hacking Techniques

Blog banner

Session Hijacking

Blog banner

Knowledge Management in Continual Service improvement (CSI)

Blog banner

Memory management

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

Direct memory access

Blog banner

Importance Of Blockchain

Blog banner

Modern Operating System - Khush bagaria

Blog banner

Online Education

Blog banner

TRELLO

Blog banner

Mendeley (management software)

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

Fault Tolerance in an Operating System

Blog banner

Dental Problems That Start Small But Should Never Be Ignored

Blog banner

Why Businesses Are Investing More in Automation than Advertising?

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

Lifestyle of a photographer

Blog banner