Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151258094
D44523.id.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.id.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
Wed, Apr 8, 4:07 AM (35 m, 57 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30942160
Default Alt Text
D44523.id.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