diff options
| author | David Xu <davidxu@FreeBSD.org> | 2005-09-30 06:09:41 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2005-09-30 06:09:41 +0000 |
| commit | 763a4295719c8d853e4b27e6012b6a69537cf4b2 (patch) | |
| tree | c40384273c92351bc86f92d51684e43729379849 /sys/kern/kern_thread.c | |
| parent | 0b5efa8ad4517ae3d2b83222b6dbef865d8b0ba0 (diff) | |
Notes
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. |
