Josh Gray wrote:
The question was "Does multithreading make a program faster?" You have not addressed the issue of speed at all. Think about the effect of having multiple cpu's in a machine and multiple non-interrelated tasks to perform.
Then based on what I said above, it really does depend on the application. Not only that, it depends on how the code is written, and whether the coder multi-threaded the right areas of the application. Using my text editor from above as an example, you conceivably could multi-thread it, it would most likely run just fine. But as far as being faster... In that particular case, I'd have to say no. The reason being you'd be writing more code to accomplish the same ends, and as such, you're forcing the computer to do more than is needed to do a simple task. This applies whether there is one processor, or 64,000 processors. In the end of it all though, whether or not an application is faster if it's multi-threaded truly does depend on whether that application would be appropriate for being written to take advantage of multi-threading. In which case, I'd say yes it would be faster, or at the very least, more efficient. Thank you again for your time. ArchKaine Some say that ignorance is bliss... Blissful, aren't they?