is there any trait to check if variable is __gshared?
bearophile
bearophileHUGS at lycos.com
Wed Mar 26 08:44:48 PDT 2014
ketmar:
> i need to iterate over all module variables and 'register'
> (read: generate some wrappers) only for shared and __gshared
> ones, avoiding TLS.
But why do you need to avoid the thread-local ones while crating
your wrappers? (If your need is real, you can ask for the trait
in the main D newsgroup).
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list