On 11/13/12 3:28 PM, Alex Rønne Petersen wrote:
On 13-11-2012 23:33, Andrei Alexandrescu wrote:shared int x; ... x = 4;You'll need to use x.store(4) instead.Is that meant to be an atomic store, or just a regular, but explicit, store?
Atomic and sequentially consistent. Andrei