Re: many processes, one result

From: Kevin S. Clarke <ksclarke_at_nyob>
Date: Mon, 18 Feb 2008 14:05:21 -0500
To: CODE4LIB_at_listserv.nd.edu
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.
Received on Mon Feb 18 2008 - 13:58:57 EST