accessed by any thread. I've implemented it for arrays so that the first
thread has an internal value 0, the second thread is 1 etc, so that i can
have, say my_var[_Internal::ThreadId(GetCurrentThreadId())]. I then tried to
hook the Win32 thread functions so that they allocate and free memory
_TerminateThread because I only call it when things go wrong anyway.
If that's what you're trying to do, why not just use Thread Local
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)