Print

Print


Hi Eric, you wrote:
> How do I write a computer program that spawns many processes but
> returns one result?

...

> Is
> the idea of threading in Java suppose to be able to address this
> problem?

Yes, Java threading addresses this problem.  You can spawn different
threads to accomplish different tasks and pull all the results
together in the end.

http://java.sun.com/docs/books/tutorial/essential/concurrency/

Kevin


--
There are two kinds of people in the world: those who believe there
are two kinds of people and those who know better.