diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 21d7000eba4d..fb97d9159eab 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -880,7 +880,7 @@ thread_single(int mode) * process. */ p->p_singlethread = NULL; - p->p_flag &= ~(P_STOPPED_SINGLE | P_SINGLE_EXIT); + p->p_flag &= ~(P_STOPPED_SINGLE | P_SINGLE_EXIT | P_SINGLE_BOUNDARY); thread_unthread(td); } mtx_unlock_spin(&sched_lock);