1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00

dmeventd: drop pthread_cancel

Drop unused pthread canceling as well as DEBUG printing in signal
handler.
This commit is contained in:
Zdenek Kabelac 2015-06-15 14:39:17 +02:00
parent f715fefe31
commit 9da07f1d3e

View File

@ -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. */