Libraries anvil runtime Thread join

Thread join()
Waits indefinitly for this thread to terminate.
Thread join(int millis)
Waits at most specified milliseconds for this thread to terminate.
Thread join(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.