Home | History | Annotate | Download | only in process

Lines Matching refs:Pid

240 Process Process::Open(ProcessId pid) {
241 if (pid == GetCurrentProcId())
245 return Process(pid);
249 Process Process::OpenWithExtraPrivileges(ProcessId pid) {
251 return Open(pid);
282 ProcessId Process::Pid() const {
313 pid_t pid = HANDLE_EINTR(waitpid(process_, NULL, WNOHANG));
314 if (pid == process_) {
318 if (pid == -1) {
321 // the same pid, causing the process state to get cleaned up.