A deadlock is like a traffic jam on a
A process P1 has a resource for which
another process P2 is waiting. Now P1
requests for a resource which is currently
allocated to P2. Now both will wait for
each other forever.
This 2 process example can be extended
to any number of processes