As the code stands it would be simplest to apply a join on your new thread but I guess you need main thread execution to continue, in which case why not just run the 'run' of thread 2 'start that' directly from the end of 'startThis' created thread 'run' i.e. good old non threaded , you'ed have two threads your main one and startThis / StartThat hybrid ... I guess what I'm saying is it its hard to see any point in having two start threads if one can only ever start after the other has completed, I'm reading between the lines and assuming you have something far more complex in mind ;-)
Though if you must have three threads then just have them share a global lock that the first thread will notify on at completion and the second thread waits on.
"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
Oh the stink of it! Smell my tiny ad!
the new thread boost feature: great for the advertiser and smooth for the coderanch user