is there any hack to determine if variable is __gshared?

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 13 08:57:13 PDT 2014


ketmar:

> is there any hack/trick to determine if variable is __gshared? 
> or if it is a thread-local, for that matter?

There is the -vtls compiler switch.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list