K
Kumar
Hi,
If i am using static variable in a function, in say a dll. If that dll
is being used by a multi-threaded program, will the static variable be
safe to use? I mean, will it have the problems associated with using
global variables in this case, i.e. same variable being modified by
multiple threads, and hence creating issues...?
Thanks,
Kumar
If i am using static variable in a function, in say a dll. If that dll
is being used by a multi-threaded program, will the static variable be
safe to use? I mean, will it have the problems associated with using
global variables in this case, i.e. same variable being modified by
multiple threads, and hence creating issues...?
Thanks,
Kumar