Double Checked Locking
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Jan 4 17:19:50 PST 2012
On 1/4/12 6:55 PM, Manfred Nowak wrote:
> Sean Kelly wrote:
>
>> to ensure a correct result.
>
> According to Andrei's paper, there is no ensurance of a correct
> result possible. If optimizations reduce runtime, then not only MTBF
> will be reduced, but some problems might turn out to be incomputable
> on that "optimized machine". Nobody will know in advance which
> problems that are.
>
> Of course: this holds only if Andrei's conclusions in his paper are
> correct.
>
> -manfred
The conclusions only apply to portable C++2003 code.
Andrei
More information about the Digitalmars-d
mailing list