Lines Matching refs:child_pid
69 ::pid_t child_pid = fork(); in WorkaroundNeeded()
70 if (child_pid == -1) { in WorkaroundNeeded()
74 if (child_pid == 0) in WorkaroundNeeded()
77 ChildDeleter child_deleter{child_pid}; in WorkaroundNeeded()
79 if (sched_getaffinity(child_pid, sizeof available_cpus, &available_cpus) == in WorkaroundNeeded()
88 child_pid, &status, __WALL); in WorkaroundNeeded()
89 if (wpid != child_pid || !WIFSTOPPED(status)) { in WorkaroundNeeded()
103 if (sched_setaffinity(child_pid, sizeof cpus, &cpus) == -1) { in WorkaroundNeeded()
111 NativeProcessLinux::PtraceWrapper(PTRACE_SINGLESTEP, child_pid); in WorkaroundNeeded()
118 child_pid, &status, __WALL); in WorkaroundNeeded()
119 if (wpid != child_pid || !WIFSTOPPED(status)) { in WorkaroundNeeded()