Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys - Fix comment: proclist_mutex was merged with procli...
details: https://anonhg.NetBSD.org/src/rev/6b7fefb26ccb
branches: trunk
changeset: 748685:6b7fefb26ccb
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Nov 01 20:57:34 2009 +0000
description:
- Fix comment: proclist_mutex was merged with proclist_lock a long time ago.
- Remove unused alllwp_mutex declaration.
diffstat:
sys/sys/lwp.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 135b3112c9db -r 6b7fefb26ccb sys/sys/lwp.h
--- a/sys/sys/lwp.h Sun Nov 01 20:25:57 2009 +0000
+++ b/sys/sys/lwp.h Sun Nov 01 20:57:34 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp.h,v 1.121 2009/10/21 21:12:07 rmind Exp $ */
+/* $NetBSD: lwp.h,v 1.122 2009/11/01 20:57:34 rmind Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
/*
* Lightweight process. Field markings and the corresponding locks:
*
- * a: proclist_mutex
+ * a: proclist_lock
* c: condition variable interlock, passed to cv_wait()
* l: *l_mutex
* p: l_proc->p_lock
@@ -200,7 +200,6 @@
LIST_HEAD(lwplist, lwp); /* a list of LWPs */
#ifdef _KERNEL
-extern kmutex_t alllwp_mutex; /* Mutex on alllwp */
extern struct lwplist alllwp; /* List of all LWPs. */
extern struct pool lwp_uc_pool; /* memory pool for LWP startup args */
Home |
Main Index |
Thread Index |
Old Index