Subj : Re: a thread question To : comp.programming.threads From : David Schwartz Date : Thu May 12 2005 06:50 pm "Chris Thomasson" <_no_damn_spam_cristom@_no_damn_comcast.net_spam> wrote in message news:fKadnShMCNJ2eR7fRVn-hw@comcast.com... > How could thread_c modify and/or read a_local and/or b_local "without" > deliberately passing a pointer or corrupting anything? If you're asking how can it happen accidentally, the answer is of course through some bug that causes thread_c to happen to hit the address of a_local or b_local. You can only not do something deliberately through a bug. However, if you want other threads to access it, it's not difficult to set up. As for "corrupting anything", what are you talking about? Threads are supposed to share variables -- that's the whole point of them. DS .