-
Blocks until the thread has finished executing.
If
self
has already finished executing,join()
returns immediately. It is up to the application to signal to the executing thread that it should exit if it will not do so otherwise.This function can be called multiple times.
Declaration
Swift
func join()