1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

revert some of the handling of STOP signals in

issignal(). Let thread_suspend_check() actually do the suspension
at the user boundary.

Submitted by:	David Xu <bsddiy@yahoo.com>
This commit is contained in:
Julian Elischer 2002-07-24 07:23:41 +00:00
parent f824b5187e
commit 38038891e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100593

View File

@ -1657,7 +1657,6 @@ issignal(td)
#endif
break; /* == ignore */
}
#if 0
/*
* If there is a pending stop signal to process
* with default action, stop here,
@ -1679,16 +1678,9 @@ issignal(td)
PROC_UNLOCK(p->p_pptr);
mtx_lock_spin(&sched_lock);
stop(p);
PROC_UNLOCK(p);
DROP_GIANT();
p->p_stats->p_ru.ru_nivcsw++;
mi_switch();
mtx_unlock_spin(&sched_lock);
PICKUP_GIANT();
PROC_LOCK(p);
break;
} else
#endif
if (prop & SA_IGNORE) {
/*
* Except for SIGCONT, shouldn't get here.