posted 18 years ago
Hi,
I am not able to understand the following code and especially the line marked as 1
I want to know that the statement marked as 1 is locking on what object.
Besides the output of this is:
Trying to notify
and then it waits forever.
Why is this happening?
Thanks for your help.
Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?