[Issue 15256] Data races with arrays allowed in @safe code

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jan 20 05:08:08 PST 2017


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

anonymous4 <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |safe
            Summary|Data races with arrays      |Data races with arrays
                   |allowed with shared         |allowed in @safe code

--- Comment #4 from anonymous4 <dfj1esp02 at sneakemail.com> ---
If you corrupt memory in @safe code, then @safe fails, I think, this is
specified pretty clearly, whether this happens due to sharing is unimportant.
If shared should allow data races can be discussed in issue 14932.

--


More information about the Digitalmars-d-bugs mailing list