shared vs __gshared

bearophile bearophileHUGS at lycos.com
Mon Jun 10 08:02:44 PDT 2013


Dmitry Olshansky:

> Now there was a discussion on it recently which indicates that 
> shared data might lose it's built-in ops to prevent confusion 
> and require folks to just use core.atomic directly for 
> lock-free or alternatively cast+mutex for lock-based.

Looks like a good idea.

Bye,
bearophjile


More information about the Digitalmars-d-learn mailing list