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
  • 6,212
  • 7
  • 35
  • 54

0 Answers0