And Perl's fork() explained:
http://hell.jedicoder.net/?p=82
Enjoy :)
Rob
On Mon, 18 Feb 2008, Kevin S. Clarke wrote:
> 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/
|