Subj : Re: One thread on several processors in multiprocessor system? To : comp.programming.threads From : Joseph Seigh Date : Tue Feb 01 2005 12:43 pm On 1 Feb 2005 07:41:28 -0800, Julius wrote: > Hello, > > I never thought befor deep about threads, but. I know that one thread > can run on separate processor. but, can one thread runs on several > processors? Say, simultaneously calculating sqrt(2), in one processor, > and 2+2 on another? > > For example in the code: > > ... > > double x = sqrt(2); > int i = 2 + 2; > .... > Not simultaneously, only on one processor at a time. A thread can run on one processor for a while, get suspended, and resume on another processor or on the same processor again. -- Joe Seigh .