[Issue 14932] The language specification does not define what the shared attribute does

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 17 21:44:19 UTC 2023


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

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

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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dlang.org pull request #3556 "Fix Issue 14932 - spec does not define what
shared attribute does" was merged into master:

- 391a00ed0f6e0795153534269dc6218c0a6179e7 by Nick Treleaven:
  Fix Issue 14932 - language spec does not define what shared does

  Normal initialization of shared vars is OK.
  Add atomicStore, atomicLoad example.
  Add example showing casting to shared.
  Mention shared globals use common storage not TLS.

https://github.com/dlang/dlang.org/pull/3556

--


More information about the Digitalmars-d-bugs mailing list