What is the best way to run a series of threads in succession?
For example, I want to start the first
thread and then when that thread is completely finished, I want to start the second thread, etc.
So, is there a method which will tell me when the first thread has completed its task?
I was thinking I would just try starting the next thread at the end of the run() method. Maybe with some type of flag - will that work?
Any better suggestions?
Thanks!
Drew