wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock

profile
Amrita Mishra
Aug 14, 2024
0 Likes
1 Discussions
153 Reads

Deadlock is a situation in computing where two or more processes are unable to proceed because each is waiting for the other to release resources. Key concepts include mutual exclusion, resource holding, circular wait, and no preemption.

 

Consider an example when two trains are coming toward each other on the same track and there is only one track, none of the trains can move once they are in front of each other. This is a practical example of deadlock.

How Does Deadlock occur in the Operating System?

Before going into detail about how deadlock occurs in the Operating System, let’s first discuss how the Operating System uses the resources present. A process in an operating system uses resources in the following way. 

Requests a resource 

Use the resource 

Releases the resource 


Comments ()


Sign in

Read Next

SECURITY TOOLS

Blog banner

File management

Blog banner

Segmentation and paging concept

Blog banner

PROCESS STATE:

Blog banner

Constrains in service design

Blog banner

Os Virtual Memory

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Interrupts

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Virtual machine and virtualizing

Blog banner

KPMG (Klynveld Peat Marwick Goerdeler)

Blog banner

Puri Jagannath temple

Blog banner

Dr. Venkadavarahan

Blog banner

The Power of Pretend Play: What Role-Playing Teaches Preschoolers

Blog banner

geographic information system (GIS)

Blog banner

Making Money through Instagram

Blog banner

What is Spyware?

Blog banner

TRAIN TRAVELING

Blog banner

Career v/s Job : Choose your passion

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

IT service level agreement

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner

Cache memory

Blog banner

Data Storytelling: Turning Analysis into Business Action

Blog banner

Deadlock and Starvation

Blog banner

Data Visualization

Blog banner

USES OF WHATSAPP

Blog banner

GIS REMOTE SENSING

Blog banner

Health and fitness

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

E-learning in today's world

Blog banner

Service design process in ITSM

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

Latest Email Marketing Techniques

Blog banner

UniProcessor Scheduling

Blog banner

R Programming

Blog banner

What is Virtual Memory

Blog banner

Financial Stress and Mental Health

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner