make this repect ps_sigintr if there is a pre-existing signal

or suspension request.

Submitted by:	David Xu
This commit is contained in:
Julian Elischer 2002-07-06 08:47:24 +00:00
parent 0b2ed1aef7
commit fe0f1bf4b1

View File

@ -539,7 +539,6 @@ msleep(ident, mtx, priority, wmesg, timo)
if (sig == 0) {
if (thread_suspend_check(1)) {
sig = SIGSTOP;
rval = ERESTART;
}
}
mtx_lock_spin(&sched_lock);