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

Types of Hackers

Blog banner

Go Daddy

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Diwali

Blog banner

What is Influencer Marketing and its Trends

Blog banner

Operating system

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

Jio .....A Revolution ?? ??

Blog banner

Deadlock and Starvation

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

To-Do List In LISP

Blog banner

About myself

Blog banner

Virtual Memory

Blog banner

Travel: Everything Everywhere!

Blog banner

Life

Blog banner

Mumbai Metro 3

Blog banner

PHISHING

Blog banner

What is Packet Filtering?

Blog banner

How return on investment is defined in IT services

Blog banner

Expert System In AI

Blog banner

How to make Pancakes

Blog banner

BENIFITS OF YOGA

Blog banner

Recipe of Paneer Butter Masala

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

Virtual Machine

Blog banner

Paginng In OS

Blog banner

Race Condition in Operating Theatre

Blog banner

Save Environment

Blog banner

An Approach To Spyware Detection And Removal

Blog banner

SECURITY RISKS OF REMOTE WORKING

Blog banner

Telegram and it's features

Blog banner

Scheduling

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

File Systems in OS.

Blog banner

File management in os

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

What is E-commerce

Blog banner

Memory Management of Operating System(OS)

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

'Positivity in life'

Blog banner