[Omp] A memory model question

Georg Hager georg.hager at rrze.uni-erlangen.de
Thu Jul 13 17:15:04 PDT 2006


Hi,

> Yes, this code is broken. 

A thorough examination of the failure of the double-checked
locking idiom for C++ can be found in this article by
Scott Meyers and Andrei Alexandrescu:

http://www.aristeia.com/Papers/DDJ_Jul_Aug_2004_revised.pdf

Bye,
Georg.


More information about the Omp mailing list