Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add an explicit node that lwp status numbers are set...



details:   https://anonhg.NetBSD.org/src/rev/4e88e9f6d3d0
branches:  trunk
changeset: 999821:4e88e9f6d3d0
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Jun 19 21:39:53 2019 +0000

description:
Add an explicit node that lwp status numbers are set in stone

Requested by <mrg>

diffstat:

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

diffs (18 lines):

diff -r 557313687c48 -r 4e88e9f6d3d0 sys/sys/lwp.h
--- a/sys/sys/lwp.h     Wed Jun 19 21:25:50 2019 +0000
+++ b/sys/sys/lwp.h     Wed Jun 19 21:39:53 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lwp.h,v 1.185 2019/06/18 22:40:09 kamil Exp $  */
+/*     $NetBSD: lwp.h,v 1.186 2019/06/19 21:39:53 kamil Exp $  */
 
 /*
  * Copyright (c) 2001, 2006, 2007, 2008, 2009, 2010
@@ -281,6 +281,8 @@
  * runnable but *not* yet running, i.e. is on a run queue.  LSONPROC
  * indicates that the process is actually executing on a CPU, i.e.
  * it is no longer on a run queue.
+ *
+ * These values are set in stone and must not be reused with future changes.
  */
 #define        LSIDL           1       /* Process being created by fork. */
 #define        LSRUN           2       /* Currently runnable. */



Home | Main Index | Thread Index | Old Index