Fix a bug when handling SIGCONT.

Reported By: Mike Makonnen <mtm@identd.net>
This commit is contained in:
David Xu 2003-02-26 12:47:46 +00:00
parent 21650d4595
commit 426269b2c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111545

View file

@ -1483,13 +1483,6 @@ psignal(p, sig)
* eventually hit thread_suspend_check().
*/
} else if (p->p_state == PRS_NORMAL) {
if (prop & SA_CONT) {
/*
* Already active, don't need to start again.
*/
SIGDELSET(p->p_siglist, sig);
goto out;
}
if ((p->p_flag & P_TRACED) || (action != SIG_DFL) ||
!(prop & SA_STOP)) {
mtx_lock_spin(&sched_lock);