Re: Java has no function level lock?
Posted By:
Anonymous
Posted On:
Wednesday, March 19, 2003 10:44 PM
There is one more way I can think of. Make the member function a synchronized static member function.
Re: Java has no function level lock?
Posted By:
Anonymous
Posted On:
Wednesday, March 19, 2003 10:39 PM
You can make a class singleton and make the required methods
as synchronized methods. This will give you the so called
'function level lock'. I hope this helps you.