What is deadlock
When two threads are waiting each other and can’t precede the program is said to be deadlock. In the context of Core Java, a deadlock refers to a situation where two or more threads are blocked forever, each waiting for the other to release a lock. Deadlocks can occur in multithreaded programs when there is … Read more