thread internal storage __declspec(thread) fails c++/cli
i'm operative digest where brew .net formula internal c++ formula around c++/cli layer. fortitude i wish thread internal storage around __declspec(thread) declaration:
__declspec(thread) int lastid = 0;
however, during initial opening variable, i nullreferenceexception.
to some-more precise, chapter finished within ref class (a .net category implemented c++/cli).
i have already review something __declspec(thread) does work check hallowed dlls.
am i controlling check hallowed dlls automatically i .net?
Comments
Post a Comment