Deadlock describes a situation where two or more threads are blocked forever, waiting for each other.
Example Program :
DeadLockDemo CODE class DeadLockDemo OUTPUT Thread-1 is holding r2. DESCRIPTION In the above program we have a THINGS TO TRY
|