Lines Matching refs:process_
217 Process::Process(ProcessHandle handle) : process_(handle) {
223 Process::Process(Process&& other) : process_(other.process_) {
229 process_ = other.process_;
268 return process_ != kNullProcessHandle;
272 return process_;
279 return Process(process_);
284 return GetProcId(process_);
288 return process_ == GetCurrentProcessHandle();
292 process_ = kNullProcessHandle;
302 CHECK_GT(process_, 0);
304 bool result = kill(process_, SIGTERM) == 0;
313 pid_t pid = HANDLE_EINTR(waitpid(process_, NULL, WNOHANG));
314 if (pid == process_) {
325 DPLOG(ERROR) << "Error waiting for process " << process_;
337 result = kill(process_, SIGKILL) == 0;
341 DPLOG(ERROR) << "Unable to terminate process " << process_;
373 return getpriority(PRIO_PROCESS, process_);