Double-checked locking and the Singleton pattern
Peter Haggar examines the roots of the double-checked locking idiom, why it was developed, and why it doesn't work.
ibm.com/developerworks/java/library/j-dcl.html
Мітки: java, програмування, pattern, singleton
Double-checked locking and the Singleton pattern
Peter Haggar examines the roots of the double-checked locking idiom, why it was developed, and why it doesn't work.