svn commit: r251833 - stable/9/lib/libthr/thread
Konstantin Belousov
kib at FreeBSD.org
Mon Jun 17 07:11:18 UTC 2013
Author: kib
Date: Mon Jun 17 07:11:17 2013
New Revision: 251833
URL: http://svnweb.freebsd.org/changeset/base/251833
Log:
MFC r250013 (by davidxu):
Remove extra code for SA_RESETHAND, it is not needed because kernel has
already done this.
Approved by: davidxu
Modified:
stable/9/lib/libthr/thread/thr_sig.c
Directory Properties:
stable/9/lib/libthr/ (props changed)
Modified: stable/9/lib/libthr/thread/thr_sig.c
==============================================================================
--- stable/9/lib/libthr/thread/thr_sig.c Mon Jun 17 06:21:42 2013 (r251832)
+++ stable/9/lib/libthr/thread/thr_sig.c Mon Jun 17 07:11:17 2013 (r251833)
@@ -341,13 +341,6 @@ check_deferred_signal(struct pthread *cu
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);
}
}
More information about the svn-src-stable-9
mailing list