This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
prodome
In need of some credit
Posts: 6 Joined: Tue Dec 11, 2007 5:24 pm
Location: Vienna
Post
by prodome » Thu Dec 13, 2007 11:49 am
Hi,,
How can i get all processors work wih any arbitrary program?
is it only possible when using more than one thread?
is it possible with simple programs that have just one thread?
thank you in advance
megabyte
I live to help wx-kind
Posts: 196 Joined: Tue Dec 07, 2004 8:54 pm
Location: Essen, Germany
Post
by megabyte » Thu Dec 13, 2007 5:30 pm
For modern processors it is impossible to spread a thread between 2 or more CPUs. So the programm should be aware about several CPUs.
prodome
In need of some credit
Posts: 6 Joined: Tue Dec 11, 2007 5:24 pm
Location: Vienna
Post
by prodome » Mon Dec 17, 2007 10:43 am
i see.
that means i need at least 2 threads in order to take advantage of two cpus?
or is there a different way of making the program aware of it?