wisemonkeys logo
FeedNotificationProfile
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock

profile
Amrita Mishra
Aug 14, 2024
0 Likes
1 Discussions
151 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

Fudgy Tahini Date Chocolate Bars

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

The Right way of cooking

Blog banner

Fitness

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner