Log a message when sending signals to the create process.
authorAndre Noll <maan@systemlinux.org>
Mon, 5 Apr 2010 18:37:14 +0000 (20:37 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 5 Apr 2010 18:37:14 +0000 (20:37 +0200)
dss.c

diff --git a/dss.c b/dss.c
index 53707bd..da096aa 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -553,6 +553,7 @@ static void stop_create_process(void)
 {
        if (!create_pid || create_process_stopped)
                return;
+       DSS_INFO_LOG("suspending create process %d\n", (int)create_pid);
        kill(SIGSTOP, create_pid);
        create_process_stopped = 1;
 }
@@ -561,6 +562,7 @@ static void restart_create_process(void)
 {
        if (!create_pid || !create_process_stopped)
                return;
+       DSS_INFO_LOG("resuming create process %d\n", (int)create_pid);
        kill (SIGCONT, create_pid);
        create_process_stopped = 0;
 }