From 4f7d4dcae56e5f993f3f0b331556d4df3b0b33ab Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 21 Jul 2014 07:54:29 +0100 Subject: Use SIGTERM in replace of SIGQUIT SIGTERM is the normal signal to use when instructing a process to exit. The only difference is that an unhandled SIGQUIT is meant to generate a coredump, which is not what we want, but in practice I encountered an issue where SIGTERM seemed to be deliverable more reliably than SIGQUIT (in tests using multiple signal helpers). Signed-off-by: Chris Wilson --- lib/igt_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/igt_core.h') diff --git a/lib/igt_core.h b/lib/igt_core.h index a30d0d14..61384878 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -372,7 +372,7 @@ void igt_waitchildren(void); /** * igt_helper_process_t: * @running: indicates whether the process is currently running - * @use_SIGKILL: whether the helper should be terminated with SIGKILL or SIGQUIT + * @use_SIGKILL: whether the helper should be terminated with SIGKILL or SIGTERM * @pid: pid of the helper if @running is true * @id: internal id * -- cgit v1.2.3