Home | History | Annotate | Download | only in process

Lines Matching refs:child

39     // the child hasn't exited yet.
137 // Return true if the given child is dead. This will also reap the process.
139 static bool IsChildDead(pid_t child) {
140 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG));
142 DPLOG(ERROR) << "waitpid(" << child << ")";
145 // The child has died.
152 // A thread class which waits for the given child to exit and reaps it.
153 // If the child doesn't exit within a couple of seconds, kill it.
156 BackgroundReaper(pid_t child, unsigned timeout)
157 : child_(child),
178 // There's no good way to wait for a specific child to exit in a timed
211 // If the child is already dead, then there's nothing to do.
221 // If the child is already dead, then there's nothing to do.