Do i have to care for alignment matters if I call gcnew from two different threads??
Do i have to care for alignment matters if I call gcnew from two different threads??
Are you talking about managed C++? If so, the same rules apply as for normal new/malloc - it is only guaranteed to align to a boundary that is suitable for the datatype with the largest alignment natively supported by the compiler.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.