DJ
Posts: 2
Nickname: cipherchap
Registered: Aug, 2003
|
|
Re: What is it doing ?!
|
Posted: Aug 1, 2003 6:42 AM
|
|
The code is indeed an extract from an example. Since I am new to synchronization, I would really like to know the mechanism behind this sample, especially to how should we decide on which object be taken as an argument for the synchronized block ? Say for instance, why should the class object be used instead of the instance object in this case ? Appreciate if a detail elaboration could be provided. Thanx.
|
|