Call thread_stopped in thr_exit to notify parent that the child process
is now fully stopped, this was already in kse_exit().
This commit is contained in:
parent
e35a02a97d
commit
71b7afb2b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155501
@ -291,6 +291,7 @@ thr_exit(struct thread *td, struct thr_exit_args *uap)
|
||||
* call exit() in the trampoline when it returns.
|
||||
*/
|
||||
if (p->p_numthreads != 1) {
|
||||
thread_stopped(p);
|
||||
thread_exit();
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user