What is deadlock in operating system?
What is a deadlock in operating system? Is it a state where two ore more operations are waiting for each other, say a computing action 'A' is waiting for action 'B' to complete, while action 'B' can only execute when 'A' is completed. Such a situation would be called a deadlock. In operating systems, a deadlock situation is arrived when computer resources required for complete of a computing task are held by another task that is waiting to execute. The system thus goes into an indefinite loop resulting into a deadlock.
The deadlock in operating system seems to be a common issue in multiprocessor systems, parallel and distributed computing setups.

![[IMG]](proxy.php?image=http%3A%2F%2Fwww.sci.csuhayward.edu%2F~billard%2Fcs4560%2Fimg181.png&hash=d029c5195e339059fab4b7ef9b25f3c5)