-
Blocks until the thread has finished executing.
If
selfhas 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()
View on GitHub
ThreadProtocol Protocol Reference