| Author |
Concurrent processing by threads.
|
yamini nadella
Ranch Hand
Joined: Apr 13, 2004
Posts: 257
|
|
Hi Friends, I am trying to implement concurrence processing in java by threads. From a main process I want to start 2 child processes. Then main process has to wait until all of its child processes got completed. Here 2 child processes can run parallel. So how can I stop main thread until all children execution get completed. Thanks in advance, Yamini.
|
 |
Corey McGlone
Ranch Hand
Joined: Dec 20, 2001
Posts: 3271
|
|
Check out the Join method of the Thread class. Corey
|
SCJP Tipline, etc.
|
 |
 |
|
|
subject: Concurrent processing by threads.
|
|
|