Figure 4: When Z is declared volatile, the Foo that it refers to is guaranteed to be fully constructed before any thread reads the Foo.

Back to Article