By sharad1974
via techgrasp.com
Published: May 27 2008 / 03:15
In this article we discuss the usage of Lock and ReEntrantLock classes in Java 5 with detailed code examples. We compare the more flexible way using Locks with the traditional way of guarding critical sections of code with synchronized blocks. The article is accompanied with compiled and running code to illustrate the concepts.
Add your comment