make this repect ps_sigintr if there is a pre-existing signal
or suspension request. Submitted by: David Xu
This commit is contained in:
parent
0b2ed1aef7
commit
fe0f1bf4b1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user