[Issue 19956] Subclassing Thread with synchronized (this) may deadlock
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 14 07:51:48 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19956
--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Nice; one reason why synchronized methods are now considered an antipattern in
.net is because object's monitor is public and there's no way to restrict
access to it, so it can accidentally end up being used in unrelated scenarios.
--
More information about the Digitalmars-d-bugs
mailing list