What is deadlock | Eklavya Online

What is deadlock

When two threads are waiting each other and can’t precede the program is said to be deadlock