On Tuesday, 7 April 2020 at 23:34:13 UTC, Gregor Mückl wrote: > On Tuesday, 7 April 2020 at 16:33:13 UTC, IGotD- wrote: > > I don't think you understand: the compiler actively prohibits > the use of non-atomic operations in synchronized functions. > That makes no sense. Sorry, I misunderstood. I agree, that doesn't make any sense at all.