Home
last modified time | relevance | path

Searched refs:child_pid_ (Results 1 – 3 of 3) sorted by relevance

/system/core/libmemunreachable/
DPtracerThread.cpp70 PtracerThread::PtracerThread(const std::function<int()>& func) : child_pid_(0) { in PtracerThread()
102 child_pid_ = clone(proxy, stack_->top(), CLONE_VM | CLONE_FS | CLONE_FILES /*|CLONE_UNTRACED*/, in Start()
104 if (child_pid_ < 0) { in Start()
109 SetTracer(child_pid_); in Start()
117 if (child_pid_ == -1) { in Join()
121 int ret = TEMP_FAILURE_RETRY(waitpid(child_pid_, &status, __WALL)); in Join()
123 MEM_ALOGE("waitpid %d failed: %s", child_pid_, strerror(errno)); in Join()
127 child_pid_ = -1; in Join()
140 if (child_pid_ == -1) { in Kill()
144 syscall(SYS_tkill, child_pid_, SIGKILL); in Kill()
DPtracerThread.h50 pid_t child_pid_; variable
/system/update_engine/
Dp2p_manager.cc381 if (child_pid_) in ~LookupData()
382 Subprocess::Get().KillExec(child_pid_); in ~LookupData()
392 child_pid_ = Subprocess::Get().ExecFlags( in InitiateLookup()
398 if (!child_pid_) { in InitiateLookup()
458 child_pid_ = 0; in OnLookupDone()
478 pid_t child_pid_{0}; member in chromeos_update_engine::LookupData