I Want To Get A Detailed Description Of Deadlock In The Operating System For My Exams
Asked By
0 points
N/A
Posted on - 09/06/2020
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.