www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - What is __gate?

reply HOSOKAWA Kenchi <hskwk inter7.jp> writes:
When I was migrating static to immutable, I found compiler messages:
": __gate is thread local"

This message might be put when immutable variables are initialized in 'static
this()'.
I'm worried about it, please let me know what is this and how to avoid them.

thanks,
Aug 07 2009
parent Don <nospam nospam.com> writes:
HOSOKAWA Kenchi wrote:
 When I was migrating static to immutable, I found compiler messages:
 ": __gate is thread local"
 
 This message might be put when immutable variables are initialized in 'static
this()'.
 I'm worried about it, please let me know what is this and how to avoid them.
 
 thanks,
It's a bug. Please put a test case in bugzilla.
Aug 10 2009