From 9da07f1d3ef40c982d463a97cf6aaf65f813ebc8 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 15 Jun 2015 14:39:17 +0200 Subject: [PATCH] dmeventd: drop pthread_cancel Drop unused pthread canceling as well as DEBUG printing in signal handler. --- daemons/dmeventd/dmeventd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemons/dmeventd/dmeventd.c b/daemons/dmeventd/dmeventd.c index ad2706055..d452f8417 100644 --- a/daemons/dmeventd/dmeventd.c +++ b/daemons/dmeventd/dmeventd.c @@ -1706,8 +1706,7 @@ static void _cleanup_unused_threads(void) static void _sig_alarm(int signum __attribute__((unused))) { - DEBUGLOG("Received SIGALRM."); - pthread_testcancel(); + /* empty SIG_IGN */; } /* Init thread signal handling. */