Module Name: src Committed By: kamil Date: Wed Jun 19 21:39:53 UTC 2019
Modified Files: src/sys/sys: lwp.h Log Message: Add an explicit node that lwp status numbers are set in stone Requested by <mrg> To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/sys/lwp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/lwp.h diff -u src/sys/sys/lwp.h:1.185 src/sys/sys/lwp.h:1.186 --- src/sys/sys/lwp.h:1.185 Tue Jun 18 22:40:09 2019 +++ src/sys/sys/lwp.h Wed Jun 19 21:39:53 2019 @@ -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 @@ extern int maxlwp __read_mostly; /* max * 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. */