public function wait() {
        if ($this->pid) {
            \pcntl_waitpid($this->pid, $status, WUNTRACED);
            return $status;
        } else {
            return false;
        }
    }
public function wait() {
        if ($this->pid) {
            \pcntl_waitpid($this->pid, $status, WUNTRACED);
            return $status;
        } else {
            return false;
        }
    }
public function wait ( ) { if ( $ this -> pid ) { \ pcntl_waitpid ( $ this -> pid , $ status , WUNTRACED ) ; return $ status ; } else { return false ; } }
Blocking method called by another thread which waits until this
thread has completed.
Blocking method called by another thread which waits until this thread has completed .