Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107058725
D44523.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
450 B
Referenced Files
None
Subscribers
None
D44523.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D44523: thread_single(9): decline external requests for traced or debugger-stopped procs
Attached
Detach File
Event Timeline
Log In to Comment