A Deadlock is a situation in which two or more threads are waiting
on each other to release a resource. Each thread is waiting for a
resource that is held by the other waiting thread.
At times there is a circular wait when more than two threads are
waiting on each other’s resources.
https://www.geeksforgeeks.org/introduction-of-deadlock-in-operating-system/