View | Details | Raw Unified | Return to bug 200493 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/kern/kern_sig.c (-1 / +2 lines)
Lines 2370-2376 tdsigwakeup(struct thread *td, int sig, sig_t action, int intrval) Link Here
2370
	 * Bring the priority of a thread up if we want it to get
2370
	 * Bring the priority of a thread up if we want it to get
2371
	 * killed in this lifetime.
2371
	 * killed in this lifetime.
2372
	 */
2372
	 */
2373
	if (action == SIG_DFL && (prop & SA_KILL) && td->td_priority > PUSER)
2373
	if (action == SIG_DFL && (prop & SA_KILL) != 0 &&
2374
	    td->td_priority > PUSER && !TD_IS_IDLETHREAD(td))
2374
		sched_prio(td, PUSER);
2375
		sched_prio(td, PUSER);
2375
	if (TD_ON_SLEEPQ(td)) {
2376
	if (TD_ON_SLEEPQ(td)) {
2376
		/*
2377
		/*

Return to bug 200493