Why do core.atomic functions require shared

Atila Neves atila.neves at gmail.com
Thu Jul 5 12:58:50 UTC 2018


On Thursday, 5 July 2018 at 11:31:15 UTC, FeepingCreature wrote:
> On Wednesday, 4 July 2018 at 10:47:12 UTC, Jonathan M Davis 
> wrote:
>>[...]
>
> Once we have DIP1000, can accessing shared class members in a 
> synchronized class (optionally? implicitly?) result in scoped 
> rvalues?

We already have DIP1000. I used it to avoid casting and bringing 
your own mutex here:

https://github.com/atilaneves/fearless

Atila


More information about the Digitalmars-d mailing list