Warning! Threading in a Multiprocessor World
javaworld.comMany authors advocate the double-checked locking idiom to access a Singleton object in an intuitively thread-safe way. Unfortunately, for counterintuitive reasons, double-checked locking doesn't work in Java.
Rate This Site
Embed Badge
Place this code on your website to show you're listed here.