Using Locks for more granular concurrent access
Java - No Comments » - Posted on September, 21 at 5:03 pm
Locks introduced in Java 5 allow a more granular control on a shared resource. When a method is synchronized only the thread that obtains the lock is allowed to enter into that method or any other synchronized method of the class. However some times we may need a more granular control, typically when we have [...]
Read More..>>Posted in Java | No Comments »