Re: How can i lock a method.<
Posted By:
Alex_Chaffee
Posted On:
Wednesday, September 26, 2001 03:11 PM
Actually, synchronized locks only the method, not the code. Read the docs more carefully. Using synchronized will do exactly what you want, really, I promise.