[Issue 14251] synchronized (mtx) doesn't check attributes (pure, const)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 20 20:00:48 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=14251
--- Comment #20 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to Martin Nowak from comment #17)
> Not allowing to put any class into read-only segments, just b/c someone
> might want to synchronize on it, is not very convincing.
> Also remember that we wanted to get rid of the extra 8-byte for monitor
> unless explicitly requested
> http://forum.dlang.org/post/xpliectmvwrwthamquke@forum.dlang.org.
Fair enough.
--
More information about the Digitalmars-d-bugs
mailing list