Lines Matching refs:pid
49 pid_t pid;
52 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
63 (int) pid, WEXITSTATUS(status));
68 (int) pid, WEXITSTATUS(status));
75 (int) pid, WTERMSIG(status));
80 (int) pid, WTERMSIG(status));
86 (int) pid);
96 if (pid == gDvm.systemServerPid) {
99 (int) pid);
104 if (pid < 0) {
227 pid_t pid;
244 pid = fork();
247 if (pid == 0) {
254 RETURN_INT(pid);
311 LOGE("could not set dumpable bit flag for pid %d: %s",
318 LOGE("could not disable core file generation for pid %d: %s",
341 capheader.pid = 0;
359 pid_t pid;
397 pid = fork();
399 if (pid == 0) {
467 } else if (pid > 0) {
471 return pid;
480 pid_t pid;
482 pid = forkAndSpecializeCommon(args, false);
484 RETURN_INT(pid);
494 pid_t pid;
495 pid = forkAndSpecializeCommon(args, true);
498 if (pid > 0) {
501 LOGI("System server process %d has been created", pid);
502 gDvm.systemServerPid = pid;
504 * but it went unnoticed because we haven't published its pid yet. So
507 if (waitpid(pid, &status, WNOHANG) == pid) {
508 LOGE("System server process %d has died. Restarting Zygote!", pid);
512 RETURN_INT(pid);