On Saturday, 3 September 2022 at 09:49:54 UTC, Loara wrote:

In current version of D language `synchronized` and `shared` are independent. In particular `shared` should be used only for basic types like integers for which atomic operations are well defined, and not for classes.

Not exactly, a synchronized class member function becomes automatically a shared one.

Reply via email to