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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 16 13:10:41 UTC 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3556 "Fix Issue 14932 - spec does
not define what shared attribute does" fixing this issue:

- 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