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:
parent
2bdf11638e
commit
588257e810
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113705
@ -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)) {
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user