Subj : Re: a thread question To : comp.programming.threads From : Loic Domaigne Date : Fri May 13 2005 12:04 am Hi Chris, >>>To be visible from every threads, the variable must be global. >> >> Nope. All variables are visible to all threads. > void* thread_c( void *s ) > { > /* > > How could this thread modify and/or read a_local and/or b_local? > > */ > > return 0; > } Just pass by some means the address of a_local, resp. b_local to the thread_c. Loic. .