I am just starting out with ThreadSafe variables and I have no problem with them as long as I am within the same file. How do you use them in multiple files?
in main.cpp
typedef struct
{
...
} X;
DefineThreadSafeVar(X, tmp);
in main() I Initialize it
I can have routines in the main.cpp file that use GetPointer to and ReleasePointer to with no problem,
but I have a timer in another file that needs to access that data. If it was just a normal variable, I know that extern X tmp would work.
How do you do that?
Thanks in advance!!
Lee