From 0766b92f7b9e23178356c66a4e0fe069607a0bed Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Wed, 29 Jan 2014 15:13:46 +0100 Subject: [PATCH] Don't unblock signals again. A late signal could kill the process otherwise. --- cpu/native/irq_cpu.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cpu/native/irq_cpu.c b/cpu/native/irq_cpu.c index 189136cc32..7470bc76b2 100644 --- a/cpu/native/irq_cpu.c +++ b/cpu/native/irq_cpu.c @@ -357,9 +357,6 @@ int register_interrupt(int sig, void (*handler)(void)) if (sigdelset(&_native_sig_set, sig)) { err(EXIT_FAILURE, "register_interrupt: sigdelset"); } - if (sigaddset(&_native_sig_set_dint, sig)) { - err(EXIT_FAILURE, "register_interrupt: sigaddset"); - } native_irq_handlers[sig].func = handler; @@ -391,9 +388,6 @@ int unregister_interrupt(int sig) if (sigaddset(&_native_sig_set, sig) == -1) { err(EXIT_FAILURE, "unregister_interrupt: sigaddset"); } - if (sigdelset(&_native_sig_set_dint, sig) == -1) { - err(EXIT_FAILURE, "unregister_interrupt: sigdelset"); - } native_irq_handlers[sig].func = NULL;