Sunday, April 30, 2006

Java Feature — Concurrent Programming and Locking in J2SE 5.0 @ JAVA DEVELOPER'S JOURNAL

Java Feature — Concurrent Programming and Locking in J2SE 5.0 @ JAVA DEVELOPER'S JOURNAL: "Java Feature — Concurrent Programming and Locking in J2SE 5.0
The mechanics of using the Lock interface implementations

By: Craig Caulfield
Apr. 21, 2006 02:00 PM

In concurrent programming, exclusion refers to any technique that dynamically locks certain blocks of code so multiple threads can't corrupt their shared resources in ways that can cause integrity problems. In Java, exclusion has meant using the synchronized keyword against a method or block of code to control access to an object's lock."

No comments: