Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140541401
D52293.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
554 B
Referenced Files
None
Subscribers
None
D52293.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
@@ -1694,8 +1694,10 @@
thread_unlock(td);
}
}
- KASSERT(mode != SINGLE_BOUNDARY || p->p_boundary_count == 0,
- ("inconsistent boundary count %d", p->p_boundary_count));
+ KASSERT(mode != SINGLE_BOUNDARY || P_SHOULDSTOP(p) ||
+ p->p_boundary_count == 0,
+ ("pid %d proc %p flags %#x inconsistent boundary count %d",
+ p->p_pid, p, p->p_flag, p->p_boundary_count));
PROC_SUNLOCK(p);
wakeup(&p->p_flag);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 26, 1:38 AM (12 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27271441
Default Alt Text
D52293.diff (554 B)
Attached To
Mode
D52293: kern/kern_thread.c: improve assert in thread_single_end()
Attached
Detach File
Event Timeline
Log In to Comment