Java Threading Deadlock?

Your example states that it is in fact correct.

Your example states that it is in fact correct. Case 1: Thread1. Transfer(Obj1, Obj2) In this case, fromHash toHash so the first lock is on the toAcct param or Obj1 and the second is on the fromAcct param or Obj2 Lock order is same, so no deadlock occurs.

Beautiful, thanks for your help. – user695398 Apr 6 at 18:52.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions