synchronized/shared associative array .require error

frame frame86 at live.com
Tue Sep 6 22:36:50 UTC 2022


On Tuesday, 6 September 2022 at 10:28:53 UTC, Loara wrote:
> On Saturday, 3 September 2022 at 14:07:58 UTC, frame wrote:
>> Not exactly, a synchronized class member function becomes 
>> automatically a shared one.
>
> This is not present in official documentation so other 
> compilers different from `dmd` aren't forced to assume it. This 
> should be consider an experimental feature of D that users 
> should be able to turn off if they want.

Hmm.. LDC does the same to me.

I think the whole synchronization class is an experimental 
feature :D



More information about the Digitalmars-d-learn mailing list