Blocks the calling thread until the given thread completes.
How long to wait for the thread to exit, 0 to wait forever.
Whether exections should be rethrown into this thread.
Whether the thread exited within the given time.
See Implementation
Blocks the calling thread until the given thread completes.