Jay Sprenkle wrote:
I also note the performance gains which can be obtained from modern
hyperthreaded CPU's.


Does Linux/Windows make each process a thread on these beasties?
If so, wouldn't making each task a process end up being the same thing?

Each process is a collection of one or more threads. Since each thread has access to the same memory and the same code, a hyperthreaded CPU can run more than one thread literally at the same time. As long as they are in the same process.


So if you split your processing between a collection of threads, your application will run much faster. Since this is at CPU level, this works on Linux, Windows and any other OS. (Accept SCO, it has no thread ability.)

This of course added to the many forms of bug available to badly programmed threaded applications...

Ben




Reply via email to