Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys g/c process state SDEAD - it's not used anymore after 'r...
details: https://anonhg.NetBSD.org/src/rev/3d405456c801
branches: trunk
changeset: 557552:3d405456c801
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Jan 11 19:39:48 2004 +0000
description:
g/c process state SDEAD - it's not used anymore after 'reaper' removal
diffstat:
sys/kern/kern_lwp.c | 6 ++----
sys/sys/proc.h | 5 ++---
2 files changed, 4 insertions(+), 7 deletions(-)
diffs (54 lines):
diff -r e3277ff6f9e2 -r 3d405456c801 sys/kern/kern_lwp.c
--- a/sys/kern/kern_lwp.c Sun Jan 11 19:18:41 2004 +0000
+++ b/sys/kern/kern_lwp.c Sun Jan 11 19:39:48 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lwp.c,v 1.19 2004/01/04 11:33:31 jdolecek Exp $ */
+/* $NetBSD: kern_lwp.c,v 1.20 2004/01/11 19:39:48 jdolecek Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.19 2004/01/04 11:33:31 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.20 2004/01/11 19:39:48 jdolecek Exp $");
#include "opt_multiprocessor.h"
@@ -237,7 +237,6 @@
t->l_stat = LSSUSPENDED;
break;
case LSIDL:
- case LSDEAD:
case LSZOMB:
return (EINTR); /* It's what Solaris does..... */
case LSSTOP:
@@ -670,7 +669,6 @@
if (suspended)
return suspended;
break;
- case SDEAD:
case SZOMB:
/* Doesn't really matter... */
return (LIST_FIRST(&p->p_lwps));
diff -r e3277ff6f9e2 -r 3d405456c801 sys/sys/proc.h
--- a/sys/sys/proc.h Sun Jan 11 19:18:41 2004 +0000
+++ b/sys/sys/proc.h Sun Jan 11 19:39:48 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.187 2004/01/11 18:37:52 jdolecek Exp $ */
+/* $NetBSD: proc.h,v 1.188 2004/01/11 19:39:48 jdolecek Exp $ */
/*-
* Copyright (c) 1986, 1989, 1991, 1993
@@ -277,9 +277,8 @@
#define SACTIVE 2 /* Process is not stopped */
#define SSTOP 4 /* Process debugging or suspension */
#define SZOMB 5 /* Awaiting collection by parent */
-#define SDEAD 6 /* Process is almost a zombie */
-#define P_ZOMBIE(p) ((p)->p_stat == SZOMB || (p)->p_stat == SDEAD)
+#define P_ZOMBIE(p) ((p)->p_stat == SZOMB)
/* These flags are kept in p_flag. */
#define P_ADVLOCK 0x00000001 /* Process may hold a POSIX advisory lock */
Home |
Main Index |
Thread Index |
Old Index