[cpp-threads] RE: volatile, memory models, threads

Boehm, Hans hans.boehm at hp.com
Fri Mar 3 23:18:36 GMT 2006


> -----Original Message-----
> From:  Peter Dimov
> My opinion on encouraging DCL aside... 

I think the Java 5 version is demonstrably a large performance win in
some cases, especially on X86.  There's often no better alternative, and
it's clearer than a lot of other lock-free code.  I do think we have to
make sure there is a reasonably clean way of writing it.

Hans



More information about the cpp-threads mailing list