Java
What is the advantage of new lock interface over synchronized block?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jan 5, 2012, 11:14 PM EST
Check out Java docs for more details:
http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/locks/Lock.html