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:
parent
dfbe8b93f3
commit
8aed544b7c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user