[Issue 20122] core.atomic.cas discards result on failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 13 10:08:48 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20122

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #2733 "Fixed the cas function not returning the
result" was merged into master:

- 5276bef147346a4b0adfae0eb7f7381efafb382a by Manu Evans:
  Fix Issue 20122 - core.atomic.cas discards result on failure

  Added overloads that return the result.

https://github.com/dlang/druntime/pull/2733

--


More information about the Digitalmars-d-bugs mailing list