I Want To Get A Detailed Description Of Deadlock In The Operating System For My Exams

Asked By 0 points N/A Posted on -
qa-featured

Give a detailed description of deadlock in the operating system and tell the steps to fix it.

SHARE
Answered By 0 points N/A #338785

I Want To Get A Detailed Description Of Deadlock In The Operating System For My Exams

qa-featured

Deadlock in an operating system is the condition in which two processes enter into the operating system at the same time, and this creates confusion in the operating system that which processes to be processed first.

There are few methods by which we can solve deadlock and that are described below:

• Kill one or more processes
• Rollback

If the deadlock occurs, then the system can go back to the last check point and give the resources to each process in different ways so that deadlock can’t occur this time.

• Preemption

We can take resources from one process and give it to others.

Related Questions