Remove extra code for SA_RESETHAND, it is not needed because kernel has

already done this.
This commit is contained in:
David Xu 2013-04-28 03:13:45 +00:00
parent c1efdf6c73
commit 9ae844e124
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250013

View File

@ -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);
}
}