Thank you, Daniel!
It is clear now.
Thanks,
Serguei
On 12/12/14 2:15 AM, Daniel Fuchs wrote:
On 12/12/14 10:11, [email protected] wrote:
Hi Shanliang,
The fix is good.
Just a side note...
I do not see why the line 98 is needed as no other thread is going to
sync
on the DeadlockTes
On 12/12/14 10:11, [email protected] wrote:
Hi Shanliang,
The fix is good.
Just a side note...
I do not see why the line 98 is needed as no other thread is going to sync
on the DeadlockTest object (that is o) that is passed to the BadBoy
constructor:
98 synchronized(o)