__gshared static

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 24 10:22:12 PDT 2015


Hi!

I just stumbled across what seems like a misunderstanding on my 
side about these keywords. Can someone help clarify these for me?

```
__gshared static int foo;
__gshared int foo;
```

What are the storage and semantic differences between those two, 
if any?

Cheers,
-M


More information about the Digitalmars-d-learn mailing list