> If I remember rightly the rsThreadData was the set of parameters passed to > the threadproc as part of its LPVOID argument. > One mistake that I've made in the past is to allocate this > structure on the > stack of another thread. This yields all sorts of bizarre > and random bugs as it can take a while for the other thread to obliterate > the data from its stack.
An excellent point, but the structure was a member variable of the class that created the thread - so in this case, it /should/ be safe from that problem - but thanks. -- Jason Teagle [EMAIL PROTECTED] _______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
