[Issue 15256] Data races with arrays allowed with shared
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jan 20 04:49:48 PST 2017
https://issues.dlang.org/show_bug.cgi?id=15256
Jack Stouffer <jack at jackstouffer.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|safe |
Summary|Data races with arrays |Data races with arrays
|allowed in @safe code |allowed with shared
--- Comment #3 from Jack Stouffer <jack at jackstouffer.com> ---
(In reply to anonymous4 from comment #2)
> @safe exists to makes guarantees :)
> And memory safety and data races are not shared's issues.
Data races are absolutely shared's problem. The issue is shared has never been
fully implemented. See https://issues.dlang.org/show_bug.cgi?id=14932
The only place you can see what shared is supposed to be is in Andrei's book
"The D Programming Language".
@safe exists to ensure memory safety; data races do not fall under that
umbrella.
--
More information about the Digitalmars-d-bugs
mailing list