Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys move l_ctxlink in struct definition to 'zero' region...
details: https://anonhg.NetBSD.org/src/rev/b1c6ed152199
branches: trunk
changeset: 551855:b1c6ed152199
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Sep 13 07:56:03 2003 +0000
description:
move l_ctxlink in struct definition to 'zero' region visually too, to
make it more clear that l_ctxlink _is_ zeroed
diffstat:
sys/sys/lwp.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r aab1928cc183 -r b1c6ed152199 sys/sys/lwp.h
--- a/sys/sys/lwp.h Sat Sep 13 07:21:52 2003 +0000
+++ b/sys/sys/lwp.h Sat Sep 13 07:56:03 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp.h,v 1.8 2003/07/28 23:35:21 matt Exp $ */
+/* $NetBSD: lwp.h,v 1.9 2003/09/13 07:56:03 jdolecek Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -72,13 +72,12 @@
struct callout l_tsleep_ch; /* callout for tsleep */
const char *l_wmesg; /* Reason for sleep. */
int l_holdcnt; /* If non-zero, don't swap. */
+ void *l_ctxlink; /* uc_link {get,set}context */
#define l_endzero l_priority
#define l_startcopy l_priority
- void *l_ctxlink; /* uc_link {get,set}context */
-
u_char l_priority; /* Process priority. */
u_char l_usrpri; /* User-priority based on p_cpu and p_nice. */
Home |
Main Index |
Thread Index |
Old Index