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.
This commit is contained in:
davidxu 2006-03-21 08:41:15 +00:00
parent dfbe8b93f3
commit 8aed544b7c

View File

@ -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);