]> git.pond.sub.org Git - empserver/blobdiff - src/lib/empthread/pthread.c
(main, empth_start): Don't bother to catch SIGUSR1. Use SIGINT or
[empserver] / src / lib / empthread / pthread.c
index 301f962178e74a4ac5cedb0bbc88285a14d43352..c4ce9989ffbc76f7baa21265f58611fb0a08b0cc 100644 (file)
@@ -67,11 +67,6 @@ empth_start(void *ctx)
     /* actually it should inherit all this from main but... */
     sigemptyset(&act.sa_mask);
     act.sa_handler = shutdwn;
-    /* pthreads on Linux use SIGUSR1 (*shrug*) so only catch it if not on
-       a Linux box running POSIX threads -- STM */
-#if !(defined(__linux__) && defined(_EMPTH_POSIX))
-    sigaction(SIGUSR1, &act, NULL);
-#endif
     sigaction(SIGTERM, &act, NULL);
     sigaction(SIGINT, &act, NULL);
     act.sa_handler = panic;