| Author |
How can i Initilise PrimeRacers before anyworker Thread is Started?
|
barnie stinson
Greenhorn
Joined: Oct 10, 2012
Posts: 1
|
|
Hi All,
i would like to know how can i initialise all the primeRacers before any worker thread is started. In the following code:
|
 |
Jelle Klap
Bartender
Joined: Mar 10, 2008
Posts: 1407
|
|
|
I think the easiest way would be to have all the threads rendezvous at a CountDownLatch.
|
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
|
 |
 |
|
|
subject: How can i Initilise PrimeRacers before anyworker Thread is Started?
|
|
|