From 0638b346b9a0a2efa05dedb45dfb15c3db88061a Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 4 Apr 2007 14:34:56 +0000 Subject: Don't remove the process from the threads queue in proc_zap() as that currently already happens in exit1(), okay art@ --- sys/kern/kern_exit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/kern/kern_exit.c') diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 775306320e6..16ffd97de5f 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.64 2007/04/03 08:05:43 art Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.65 2007/04/04 14:34:56 pedro Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -618,8 +618,9 @@ proc_zap(struct proc *p) * Remove us from our process list, possibly killing the process * in the process (pun intended). */ - +#if 0 TAILQ_REMOVE(&p->p_p->ps_threads, p, p_thr_link); +#endif if (TAILQ_EMPTY(&p->p_p->ps_threads)) pool_put(&process_pool, p->p_p); -- cgit v1.2.3-59-g8ed1b