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

Manu turkeyman at gmail.com
Wed Oct 2 17:25:25 UTC 2019

On Wed, Oct 2, 2019 at 10:21 AM Manu <turkeyman at gmail.com> wrote:
> On Wed, Oct 2, 2019 at 2:10 AM Walter Bright via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
> >
> > On 10/1/2019 11:30 PM, Manu wrote:
> > > I'm confused, which is it, A or B? I presume B, and my prior commentary applies.
> >
> > A
> In that case, I don't understand the only code shown in the DIP; you
> show freely reading from and assigning to a shared int... that should
> be an error, and there should be atomicLoad/astomicStore in those
> locations?

Also the text: "Atomic reads perform an acquire operation, writes
perform a release
operation, and read-modify-write performs an acquire, then a
modification, and then a release."

What does that mean? I don't know what that's talking about.
Please correct the DIP so we can understand it.

More information about the Digitalmars-d mailing list