Fixing core.atomic

Guillaume Piolat first.last at gmail.com
Mon May 31 08:18:35 UTC 2021


On Sunday, 30 May 2021 at 20:41:29 UTC, rm wrote:
> I plan on making core.atomic more consistent and easier to use. 
> Please provide me with your feedback.
>
>
> https://github.com/rymrg/drm/blob/main/atomic.d
> https://github.com/rymrg/drm/blob/main/atomic_rationale.md

I have once implemented an atomic struct like this and the first 
thing that happened is that you would write:


s = s + 1;

Breaking atomicity.


More information about the Digitalmars-d mailing list