Lines Matching refs:pid
219 int wxKill(long pid, wxSignal sig, wxKillError *rc, int flags)
221 int err = kill((pid_t) (flags & wxKILL_CHILDREN) ? -pid : pid, (int)sig);
540 pid_t pid = vfork();
542 pid_t pid = fork();
544 if ( pid == -1 ) // error?
552 else if ( pid == 0 ) // we're in child
582 // Set process group to child process' pid. Then killing -pid
633 execData.pid = pid;
1265 // sync execution: indicate it by negating the pid
1266 endProcData->pid = -execData.pid;
1274 endProcData->pid = execData.pid;
1279 endProcData->tag = wxAddProcessCallbackForPid(endProcData, execData.pid);
1296 // endProcData->pid will be set to 0 from GTK_EndProcessDetector when the
1298 while ( endProcData->pid != 0 )
1335 return execData.pid;
1347 proc_data->process->OnTerminate(proc_data->pid, proc_data->exitcode);
1351 if ( proc_data->pid > 0 )
1358 proc_data->pid = 0;