From d4951792e550b0e8317a420bf4695ccd77226686 Mon Sep 17 00:00:00 2001 From: davidxu Date: Sun, 28 Apr 2013 03:13:45 +0000 Subject: Remove extra code for SA_RESETHAND, it is not needed because kernel has already done this. --- lib/libthr/thread/thr_sig.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/libthr/thread/thr_sig.c') diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c index 2d66184..e67bb6e 100644 --- a/lib/libthr/thread/thr_sig.c +++ b/lib/libthr/thread/thr_sig.c @@ -336,13 +336,6 @@ check_deferred_signal(struct pthread *curthread) memcpy(&info, &curthread->deferred_siginfo, sizeof(siginfo_t)); /* remove signal */ curthread->deferred_siginfo.si_signo = 0; - if (act.sa_flags & SA_RESETHAND) { - struct sigaction tact; - - tact = act; - tact.sa_handler = SIG_DFL; - _sigaction(info.si_signo, &tact, NULL); - } handle_signal(&act, info.si_signo, &info, uc); } } -- cgit v1.1