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/8e0a5994f5c1
branches:  trunk
changeset: 452151:8e0a5994f5c1
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 5fed5e09027d -r 8e0a5994f5c1 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