K
kathy
If in one of the header file, a constant is defined:
const UINT UM_CAL_DONE = func();
and it is included in several other .cpp file. Does the func()
excecuted many times? If it is included in multithread application.
data in the func() must be synchonized?
const UINT UM_CAL_DONE = func();
and it is included in several other .cpp file. Does the func()
excecuted many times? If it is included in multithread application.
data in the func() must be synchonized?