From 6b371a657a5028772fce98c618c286f68076205b Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 11 Jul 2009 18:32:49 +0300 Subject: [PATCH] Revert "Handle EINTR from sigwait" This reverts commit 5878fd3087cc631b930e4c486612af92a2ba9c68. --- modules/control/signals.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/modules/control/signals.c b/modules/control/signals.c index 1435cd3a08..7b63cbc496 100644 --- a/modules/control/signals.c +++ b/modules/control/signals.c @@ -24,7 +24,6 @@ #include #include -#include #include #include @@ -101,15 +100,8 @@ static void *SigThread (void *data) do { - switch (sigwait (&set, &signum)) - { - case EINTR: - continue; - case 0: - break; - default: - assert (0); - } + sigwait (&set, &signum); + #ifdef __APPLE__ /* In Mac OS X up to 10.5 sigwait (among others) is not a pthread * cancellation point */ -- 2.39.5