Benji Smith wrote: > I thought the double-checked locking idiom was only buggy in the Java > memory model (prior to being fixed in the 1.6 JDK). It's a common bug in C/C++ code.