Lines Matching refs:pid
13 $pid=pcntl_fork();
14 if ($pid==0) {
19 pcntl_waitpid($pid, $status, $options);
27 $pid=pcntl_fork();
29 if ($pid==0) {
34 posix_kill($pid, SIGTERM);
35 pcntl_waitpid($pid, $status, $options);
49 $pid=pcntl_fork();
51 if ($pid==0) {
56 posix_kill($pid, SIGSTOP);
57 pcntl_waitpid($pid, $status, $options);
63 posix_kill($pid, SIGCONT);