Am Tue, 14 Feb 2017 14:38:32 +0000 schrieb Kagamin <s...@here.lot>: > On Tuesday, 14 February 2017 at 10:52:37 UTC, Johannes Pfau wrote: > > I remember some discussions about this some years ago and IIRC > > the final decision was that the compiler will not magically > > insert any barriers for shared variables. > > It was so some years ago, not sure if it's still so. I suspect > automatic barriers come from TDPL book and have roughly the same > rationale as autodecoding. They fix something, guess if this > something is what you need.
At least this thread is from 2012, so more recent than TDPL: http://forum.dlang.org/post/k7pn19$bre$1...@digitalmars.com I'm not sure though if there were any further discussions/decisions after that discussion. -- Johannes