Page MenuHomeFreeBSD

D44523.diff
No OneTemporary

D44523.diff

diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -1248,6 +1248,9 @@
return (1);
msleep(&p->p_flag, &p->p_mtx, PCATCH, "thrsgl", 0);
}
+ if ((p->p_flag & (P_STOPPED_SIG | P_TRACED)) != 0 ||
+ (p->p_flag2 & P2_WEXIT) != 0)
+ return (1);
} else if ((p->p_flag & P_HADTHREADS) == 0)
return (0);
if (p->p_singlethread != NULL && p->p_singlethread != td)

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 10, 11:31 AM (13 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15742172
Default Alt Text
D44523.diff (450 B)

Event Timeline