Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/sys/sys Add a upcall-is-pending flag.
details: https://anonhg.NetBSD.org/src/rev/9640fffe02eb
branches: nathanw_sa
changeset: 504829:9640fffe02eb
user: nathanw <nathanw%NetBSD.org@localhost>
date: Mon Jul 09 22:34:00 2001 +0000
description:
Add a upcall-is-pending flag.
Fix some tabifying.
diffstat:
sys/sys/lwp.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 4e68c40141e2 -r 9640fffe02eb sys/sys/lwp.h
--- a/sys/sys/lwp.h Mon Jul 09 22:32:28 2001 +0000
+++ b/sys/sys/lwp.h Mon Jul 09 22:34:00 2001 +0000
@@ -1,4 +1,4 @@
-/* $Id: lwp.h,v 1.1.2.3 2001/06/21 20:09:48 nathanw Exp $ */
+/* $Id: lwp.h,v 1.1.2.4 2001/07/09 22:34:00 nathanw Exp $ */
/* XXX Copyright
*/
@@ -75,8 +75,9 @@
#define L_SELECT 0x00040 /* Selecting; wakeup/waiting danger. */
#define L_SINTR 0x00080 /* Sleep is interruptible. */
#define L_TIMEOUT 0x00400 /* Timing out during sleep. */
-#define L_DETACHED 0x00800 /* Won't be waited for. */
-#define L_SA 0x01000 /* Scheduler activations LWP */
+#define L_DETACHED 0x00800 /* Won't be waited for. */
+#define L_SA 0x01000 /* Scheduler activations LWP */
+#define L_SA_UPCALL 0x02000 /* SA upcall is pending */
/*
* Status values.
@@ -93,7 +94,7 @@
#define LSZOMB 5 /* Awaiting collection by parent. */
#define LSDEAD 6 /* Process is almost a zombie. */
#define LSONPROC 7 /* Process is currently on a CPU. */
-#define LSSUSPENDED 8 /* Not running, not signalable. */
+#define LSSUSPENDED 8 /* Not running, not signalable. */
#ifdef _KERNEL
#define PHOLD(l) \
Home |
Main Index |
Thread Index |
Old Index