Tuesday, 24 October 2017

JAVA : MULTI-THREADING : Dead Lock

JAVA : MULTI-THREADING : Dead Lock


2 threads waiting for each other forever is Dead Lock

Synchronized keyword  - reason for Dead Lock.
If we don't use Synchronized keyword properly - program will enter to Dead Lock.

There are no resolution technique, but several prevention technique's are available:














No comments:

Post a Comment