diff options
author | davidxu <davidxu@FreeBSD.org> | 2013-04-28 03:13:45 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2013-04-28 03:13:45 +0000 |
commit | d4951792e550b0e8317a420bf4695ccd77226686 (patch) | |
tree | ead74a90e14bbf450f7d50b533858d7668672787 /lib/libthr | |
parent | 4410412e99cee64a46ff86a3df7093afe458f680 (diff) | |
download | FreeBSD-src-d4951792e550b0e8317a420bf4695ccd77226686.zip FreeBSD-src-d4951792e550b0e8317a420bf4695ccd77226686.tar.gz |
Remove extra code for SA_RESETHAND, it is not needed because kernel has
already done this.
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/thread/thr_sig.c | 7 |
1 files changed, 0 insertions, 7 deletions
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); } } |