Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern use LSDEAD instead of SDEAD for lwp state.
details: https://anonhg.NetBSD.org/src/rev/a07219aab569
branches: trunk
changeset: 550758:a07219aab569
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Aug 20 14:04:00 2003 +0000
description:
use LSDEAD instead of SDEAD for lwp state.
diffstat:
sys/kern/kern_exit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3023d284e6fd -r a07219aab569 sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c Wed Aug 20 13:58:08 2003 +0000
+++ b/sys/kern/kern_exit.c Wed Aug 20 14:04:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exit.c,v 1.120 2003/08/20 13:50:53 yamt Exp $ */
+/* $NetBSD: kern_exit.c,v 1.121 2003/08/20 14:04:00 yamt Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.120 2003/08/20 13:50:53 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.121 2003/08/20 14:04:00 yamt Exp $");
#include "opt_ktrace.h"
#include "opt_perfctrs.h"
@@ -343,7 +343,7 @@
s = proclist_lock_write();
p->p_stat = SDEAD;
p->p_nrlwps--;
- l->l_stat = SDEAD;
+ l->l_stat = LSDEAD;
LIST_REMOVE(p, p_list);
LIST_INSERT_HEAD(&zombproc, p, p_list);
LIST_REMOVE(l, l_list);
Home |
Main Index |
Thread Index |
Old Index