Use correct thread pointer.

This commit is contained in:
davidxu 2003-04-19 04:39:10 +00:00
parent 6223a95348
commit 8ef415ed06
2 changed files with 2 additions and 2 deletions

View File

@ -1842,7 +1842,7 @@ thread_single(int force_exit)
FOREACH_THREAD_IN_PROC(p, td2) {
if (td2 == td)
continue;
td->td_flags |= TDF_ASTPENDING;
td2->td_flags |= TDF_ASTPENDING;
if (TD_IS_INHIBITED(td2)) {
if (force_exit == SINGLE_EXIT) {
if (TD_IS_SUSPENDED(td2)) {

View File

@ -1842,7 +1842,7 @@ thread_single(int force_exit)
FOREACH_THREAD_IN_PROC(p, td2) {
if (td2 == td)
continue;
td->td_flags |= TDF_ASTPENDING;
td2->td_flags |= TDF_ASTPENDING;
if (TD_IS_INHIBITED(td2)) {
if (force_exit == SINGLE_EXIT) {
if (TD_IS_SUSPENDED(td2)) {