[Issue 23709] Cannot use synchronized on shared class with -preview=nosharedaccess
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 27 21:37:29 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23709
Atila Neves <atila.neves at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #10 from Atila Neves <atila.neves at gmail.com> ---
It doesn't make sense from a usability point of view for the compiler to not
rewrite using atomicLoad, especially if it's always going to be needed except
for when creating a mutex to pass in. That's clearly not going to be common.
--
More information about the Digitalmars-d-bugs
mailing list