0
synchronised()
{
//line1
//line2
// line: waiting indefinitely for DB connection
//line 3
}

How to ensure that other threads get access to these lines and the thread currently deadlocked here, somehow releases the lock?

Farrukh Chishti
  • 7,652
  • 10
  • 36
  • 60

0 Answers0