diff options
Diffstat (limited to 'sys/kern/kern_thread.c')
| -rw-r--r-- | sys/kern/kern_thread.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 805979c8ecc3..ed788dae8c20 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -493,13 +493,6 @@ thread_exit(void) sched_exit_thread(FIRST_THREAD_IN_PROC(p), td); /* - * as we are exiting there is room for another - * to be created. - */ - if (p->p_maxthrwaits) - wakeup(&p->p_numthreads); - - /* * The test below is NOT true if we are the * sole exiting thread. P_STOPPED_SNGL is unset * in exit1() after it is the only survivor. |
