Lines Matching refs:pid
11 pid = os.fork()
12 if pid:
14 return pid
56 def _check_for_subprocess_exception(temp_dir, pid): argument
57 ename = temp_dir + "/debug/error-%d" % pid
81 def fork_waitfor(tmp, pid): argument
82 (pid, status) = os.waitpid(pid, 0)
84 _check_for_subprocess_exception(tmp, pid)
89 def fork_waitfor_timed(tmp, pid, timeout): argument
99 (child_pid, status) = os.waitpid(pid, os.WNOHANG)
107 logging.info('Timer expired (%d sec.), nuking pid %d', timeout, pid)
108 utils.nuke_pid(pid)
109 (child_pid, status) = os.waitpid(pid, 0)
112 _check_for_subprocess_exception(tmp, pid)
117 def fork_nuke_subprocess(tmp, pid): argument
118 utils.nuke_pid(pid)
119 _check_for_subprocess_exception(tmp, pid)