From 8aed544b7c14bea86f3946122ae71bb42d24cde2 Mon Sep 17 00:00:00 2001 From: davidxu Date: Tue, 21 Mar 2006 08:41:15 +0000 Subject: [PATCH] Because JOB control has higher priority than single threading in thread_suspend_check(), call thread_stopped() to report SIGCHLD if there is JOB control in progress. --- sys/kern/kern_thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 07bf319ce7cd..44d5a6b65bd7 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -826,6 +826,7 @@ thread_single(int mode) * Wake us up when everyone else has suspended. * In the mean time we suspend as well. */ + thread_stopped(p); thread_suspend_one(td); PROC_UNLOCK(p); mi_switch(SW_VOL, NULL);