Difference between __gshared and shared.

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 8 06:26:52 PDT 2015


On 08/07/15 15:08, Jonathan M Davis wrote:
> I know that there are a number of people who get frustrated with shared
> and using __gshared instead, but unless you fully understand what you're
> doing and how the language works, and you're _really_ careful, you're
> going to shoot yourself in the foot it subtle ways if you do that.
>
I guess my main issue with this statement is that I don't see how that 
is not the case when using shared.

Shachar


More information about the Digitalmars-d mailing list