Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/mach In the basic thread info, suspend count is t...
details: https://anonhg.NetBSD.org/src/rev/a756fd7d6797
branches: trunk
changeset: 555892:a756fd7d6797
user: manu <manu%NetBSD.org@localhost>
date: Wed Dec 03 22:25:46 2003 +0000
description:
In the basic thread info, suspend count is the suspend sempahore. Just return
0 for now. This is plain wrong, but at least it allows gdb to startup a
program.
diffstat:
sys/compat/mach/mach_thread.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a2ba116797fe -r a756fd7d6797 sys/compat/mach/mach_thread.c
--- a/sys/compat/mach/mach_thread.c Wed Dec 03 21:58:49 2003 +0000
+++ b/sys/compat/mach/mach_thread.c Wed Dec 03 22:25:46 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mach_thread.c,v 1.27 2003/11/27 23:44:49 manu Exp $ */
+/* $NetBSD: mach_thread.c,v 1.28 2003/12/03 22:25:46 manu Exp $ */
/*-
* Copyright (c) 2002-2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_thread.c,v 1.27 2003/11/27 23:44:49 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_thread.c,v 1.28 2003/12/03 22:25:46 manu Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -317,7 +317,7 @@
break;
}
- tbi->suspend_count = tl->l_swtime;
+ tbi->suspend_count = 0;
tbi->sleep_time = tl->l_slptime;
break;
}
Home |
Main Index |
Thread Index |
Old Index