Waiting for the end of multiple threads
From: Andrea B. (andrea.bennati_at_etrinf.it)
Date: 08/31/04
- Next message: Vincent Lascaux: "Thread synchronization problem"
- Previous message: Harald Kirsch: "Re: java.lang.Set with elements of type java.lang.Set"
- Next in thread: Nick Pomfret: "Re: Waiting for the end of multiple threads"
- Reply: Nick Pomfret: "Re: Waiting for the end of multiple threads"
- Reply: Matt Humphrey: "Re: Waiting for the end of multiple threads"
- Reply: Olivier Merigon: "Re: Waiting for the end of multiple threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Aug 2004 03:56:51 -0700
In my java application i need to launch several parallel threads to
execute elementary parts of a complex calculation.
So, the main application should wait for the end of all the threads
and evaluate a general result.
I also have to notify to the main application when some thread exceed
a maximum timeout.
Could someone tell me how to implement this programming logic in Java?
I would be grateful if you could send me some sample code.
Thanks in advance
- Next message: Vincent Lascaux: "Thread synchronization problem"
- Previous message: Harald Kirsch: "Re: java.lang.Set with elements of type java.lang.Set"
- Next in thread: Nick Pomfret: "Re: Waiting for the end of multiple threads"
- Reply: Nick Pomfret: "Re: Waiting for the end of multiple threads"
- Reply: Matt Humphrey: "Re: Waiting for the end of multiple threads"
- Reply: Olivier Merigon: "Re: Waiting for the end of multiple threads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|