On 11/13/2012 11:37 PM, Jacob Carlborg wrote: > If the compiler should/does not add memory barriers, then is there a reason for > having it built into the language? Can a library solution be enough? Memory barriers can certainly be added using library functions.