Thursday, 16 November 2017

Deadlock in java by JavaXpert


Deadlock


Deadlock describe a situation when more than two or more thread are waiting for each other. In deadlock one thread is waiting for another thread and the another thread is waiting for the first thread. Thus, both threads go in waiting state and can not continue their execution.This types of situation is called deadlock in java.


In Java deadlock simply means one or more thread are waiting for each other.





Popular posts