This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
class specific locks can be acquired by 1.synchronizing on static methods. 2.synchronizing on the static objects defined in the class. 3.Locking on external objects like System.out 4.Locking on Singleton Objects.