Lines Matching refs:pid
573 pid, _ = os.waitpid(-1, 0)
574 self.active_children.discard(pid)
582 for pid in self.active_children.copy():
585 pid, _ = os.waitpid(pid, flags)
586 # if the child hasn't exited yet, pid will be 0 and ignored by
588 self.active_children.discard(pid)
591 self.active_children.discard(pid)
611 pid = os.fork()
612 if pid:
616 self.active_children.add(pid)