Mallocator and 'shared'

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 14 06:38:32 PST 2017


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.


More information about the Digitalmars-d-learn mailing list