Threadjoin()
Waits indefinitly for this thread to terminate. Threadjoin(int millis)
Waits at most specified milliseconds for this thread to terminate. Threadjoin(int millis, int nanos)
Waits at most specified milli- and nanoseconds for this thread to terminate.
Throws
Interrupted -
if another thread has interrupted the current thread.