synchronized/shared associative array .require error

frame frame86 at live.com
Sat Sep 3 14:07:58 UTC 2022


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.


More information about the Digitalmars-d-learn mailing list