diff options
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index a6ecbf8..3329b87 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1525,6 +1525,11 @@ psignal(p, sig) if (TD_IS_SLEEPING(td) && (td->td_flags & TDF_SINTR)) thread_suspend_one(td); + else if (TD_IS_IDLE(td)) { + thread_suspend_one(td); + } + + } if (p->p_suspcount == p->p_numthreads) { mtx_unlock_spin(&sched_lock); |