Lines Matching refs:pid
17 $pid=pcntl_fork();
18 if ($pid==0) {
23 pcntl_waitpid($pid, $status, $options);
31 $pid=pcntl_fork();
33 if ($pid==0) {
38 posix_kill($pid, SIGTERM);
39 pcntl_waitpid($pid, $status, $options);
53 $pid=pcntl_fork();
55 if ($pid==0) {
60 posix_kill($pid, SIGSTOP);
61 pcntl_waitpid($pid, $status, $options);
67 posix_kill($pid, SIGCONT);