DIP 1024--Shared Atomics--Community Review Round 1

jmh530 john.michael.hall at gmail.com
Tue Oct 1 17:22:24 UTC 2019

On Tuesday, 1 October 2019 at 16:49:25 UTC, ag0aep6g wrote:
> [snip]
> This is the proposal (first paragraph of the DIP / Abstract): 
> "Reads and writes to data typed as shared are made atomic where 
> the target CPU supports atomic operations and become erroneous 
> when they cannot be done atomically."
> The rest of the DIP sometimes seems to contradict the Abstract 
> (e.g. "prohibiting direct access to shared data", "will require 
> using core.atomic"). It should probably be clarified that using 
> core.atomic will only be necessary when the compiler can't 
> generate the atomic operation itself for whatever reason.

I assumed bachmeier's point was more an issue with the 
organization and presentation of the DIP than what the proposal 
actually is...

More information about the Digitalmars-d mailing list