Read/Write memory barriers in D?
Igor via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Aug 13 06:03:01 PDT 2017
On Sunday, 13 August 2017 at 11:58:56 UTC, Daniel Kozak wrote:
> or maybe use core.atomic.atomicLoad and store with right
> https://dlang.org/phobos/core_atomic.html#.MemoryOrder
>
> On Sun, Aug 13, 2017 at 1:51 PM, Daniel Kozak
> <kozzi11 at gmail.com> wrote:
>
>> maybe something like https://dlang.org/phobos/
>> core_bitop.html#.volatileLoad and https://dlang.org/phobos/
>> core_bitop.html#.volatileStore
>>
Based on documentation volatileLoad/volatileStore seems like the
closest thing so I'll go with that for now. Thanks.
More information about the Digitalmars-d-learn
mailing list