From: Andre Noll Date: Mon, 5 Apr 2010 18:37:14 +0000 (+0200) Subject: Log a message when sending signals to the create process. X-Git-Tag: v0.1.4~9 X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=commitdiff_plain;h=8ffc47047c7a23d8da2f243b418646117b5af49f;hp=502f56e5819510afc09de961814254d2ccc8f8c7 Log a message when sending signals to the create process. --- diff --git a/dss.c b/dss.c index 53707bd..da096aa 100644 --- 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; }