On Sun, Aug 28, 2011 at 6:13 PM, Jeffrey Walton <noloa...@gmail.com> wrote:
> (1) Never trust wikipedia.

Reading your message makes me wonder whether you are familiar with the
reason why memory barriers exist, something the Wikipedia authors of
the page about double-checked locking clearly are aware of ? Reading
the paper "x86-TSO: a rigorous and usable programmer's model for x86
multiprocessors" might help. It does not only discuss memory models in
general but also explains why effects like inter-processor store
reordering are observed with certain processor families but not with
x86 CPUs.

Bart.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to