lib/drmtest: consolidate the helper process killing in one exit handler

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2013-09-10 15:44:37 +02:00
parent 7c25e8cff1
commit e73c1a07f3
2 changed files with 41 additions and 9 deletions
+1
View File
@@ -224,6 +224,7 @@ void igt_waitchildren(void);
struct igt_helper_process {
bool running;
pid_t pid;
int id;
};
bool __igt_fork_helper(struct igt_helper_process *proc);
void igt_stop_helper(struct igt_helper_process *proc);