diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-02-19 10:32:58 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-02-19 10:32:58 +0000 |
commit | 1e0f31543a0ee99c712c517de2bb1053e046b8db (patch) | |
tree | 15d9d448b16b46f22df64af761d7fbe843171b93 /rts/posix | |
parent | 19f85473301c46020caada24a07a4c8c51ec2f64 (diff) | |
download | haskell-1e0f31543a0ee99c712c517de2bb1053e046b8db.tar.gz |
#2860: remove redundant unblocking of signals
Diffstat (limited to 'rts/posix')
-rw-r--r-- | rts/posix/Signals.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c index c016b9bf75..8268e6fe74 100644 --- a/rts/posix/Signals.c +++ b/rts/posix/Signals.c @@ -155,8 +155,6 @@ generic_handler(int sig USED_IF_THREADS, siginfo_t *info, void *p STG_UNUSED) { - sigset_t signals; - #if defined(THREADED_RTS) if (io_manager_pipe != -1) @@ -219,11 +217,6 @@ generic_handler(int sig USED_IF_THREADS, MainCapability.context_switch = 1; #endif /* THREADED_RTS */ - - // re-establish the signal handler, and carry on - sigemptyset(&signals); - sigaddset(&signals, sig); - sigprocmask(SIG_UNBLOCK, &signals, NULL); } /* ----------------------------------------------------------------------------- |