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 L_SA_BLOCKING flag, which indicates that a ...



details:   https://anonhg.NetBSD.org/src/rev/59560dab5435
branches:  nathanw_sa
changeset: 505461:59560dab5435
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Mon Dec 17 20:37:35 2001 +0000

description:
Add L_SA_BLOCKING flag, which indicates that a LWP has been blocked by
a call to tsleep().

diffstat:

 sys/sys/lwp.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 09fee6f61524 -r 59560dab5435 sys/sys/lwp.h
--- a/sys/sys/lwp.h     Mon Dec 17 17:52:42 2001 +0000
+++ b/sys/sys/lwp.h     Mon Dec 17 20:37:35 2001 +0000
@@ -1,4 +1,4 @@
-/*     $Id: lwp.h,v 1.1.2.10 2001/11/29 01:22:57 nathanw Exp $ */
+/*     $Id: lwp.h,v 1.1.2.11 2001/12/17 20:37:35 nathanw Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -113,6 +113,7 @@
 #define        L_BIGLOCK       0x80000 /* LWP needs kernel "big lock" to run */
 #define        L_SA            0x100000 /* Scheduler activations LWP */
 #define        L_SA_UPCALL     0x200000 /* SA upcall is pending */
+#define        L_SA_BLOCKING   0x400000 /* Blocking in tsleep() */
 
 /*
  * Status values.



Home | Main Index | Thread Index | Old Index