DIP 1024--Shared Atomics--Community Review Round 1
ag0aep6g
anonymous at example.com
Tue Oct 1 16:49:25 UTC 2019
On Tuesday, 1 October 2019 at 16:22:36 UTC, bachmeier wrote:
> My feedback: What is the proposal?
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.
More information about the Digitalmars-d
mailing list