I Want To Get A Detailed Description Of Deadlock In The Operating System For My Exams
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
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.
We can take resources from one process and give it to others.