Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Count lockmgr locks held by process if LOCKDEBUG ||...
details: https://anonhg.NetBSD.org/src/rev/a54dc6cf51f2
branches: trunk
changeset: 472672:a54dc6cf51f2
user: sommerfe <sommerfe%NetBSD.org@localhost>
date: Tue May 04 15:58:53 1999 +0000
description:
Count lockmgr locks held by process if LOCKDEBUG || DIAGNOSTIC.
(previously, it was just under LOCKDEBUG).
diffstat:
sys/kern/kern_lock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 4df83e56c38d -r a54dc6cf51f2 sys/kern/kern_lock.c
--- a/sys/kern/kern_lock.c Tue May 04 15:50:24 1999 +0000
+++ b/sys/kern/kern_lock.c Tue May 04 15:58:53 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lock.c,v 1.16 1999/03/25 00:20:35 sommerfe Exp $ */
+/* $NetBSD: kern_lock.c,v 1.17 1999/05/04 15:58:53 sommerfe Exp $ */
/*
* Copyright (c) 1995
@@ -52,7 +52,7 @@
* Locks provide shared/exclusive sychronization.
*/
-#ifdef LOCKDEBUG
+#if defined(LOCKDEBUG) || defined(DIAGNOSTIC)
#define COUNT(p, x) if (p) (p)->p_locks += (x)
#else
#define COUNT(p, x)
Home |
Main Index |
Thread Index |
Old Index