Waits for the thread to terminate and returns the exit status.
Source position: classesh.inc line 1512
public function TThread.WaitFor: Integer;