1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Use correct thread pointer.

This commit is contained in:
David Xu 2003-04-19 04:39:10 +00:00
parent 2bdf11638e
commit 588257e810
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113705
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)) {