kse_thr_interrupt should target the thread, specifically.

Requested by:	davidxu
This commit is contained in:
mtm 2003-07-04 01:41:32 +00:00
parent 151e14e2da
commit be4cccbaee
2 changed files with 2 additions and 2 deletions

View File

@ -413,7 +413,7 @@ kse_thr_interrupt(struct thread *td, struct kse_thr_interrupt_args *uap)
if (sig > 0) {
td2->td_flags &= ~TDF_INTERRUPT;
mtx_unlock_spin(&sched_lock);
tdsignal(td2, sig, SIGTARGET_P);
tdsignal(td2, sig, SIGTARGET_TD);
} else if (sig == 0) {
mtx_unlock_spin(&sched_lock);
} else {

View File

@ -413,7 +413,7 @@ kse_thr_interrupt(struct thread *td, struct kse_thr_interrupt_args *uap)
if (sig > 0) {
td2->td_flags &= ~TDF_INTERRUPT;
mtx_unlock_spin(&sched_lock);
tdsignal(td2, sig, SIGTARGET_P);
tdsignal(td2, sig, SIGTARGET_TD);
} else if (sig == 0) {
mtx_unlock_spin(&sched_lock);
} else {