From 29fb3d2d8d5c80c4b0a729a633c4f5bbb4df928f Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 26 Mar 2018 22:12:33 +0100 Subject: [PATCH] proc.h: add new process state --- Library/include/proc.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Library/include/proc.h b/Library/include/proc.h index 3deeb8b7..6cb9fc56 100644 --- a/Library/include/proc.h +++ b/Library/include/proc.h @@ -10,10 +10,11 @@ /* The sleeping range must be together see swap.c */ #define P_READY 2 /* Runnable */ #define P_SLEEP 3 /* Sleeping; can be awakened by signal */ -#define P_STOPPED 4 /* Stopped waiting for SIGCONT */ -#define P_FORKING 5 /* In process of forking; do not mess with */ -#define P_ZOMBIE 6 /* Exited. */ -#define P_NOSLEEP 7 /* Internal no-sleep state, never visible to ps */ +#define P_IOWAIT 4 /* Sleeping; cannot be awakened by signal */ +#define P_STOPPED 5 /* Stopped waiting for SIGCONT */ +#define P_FORKING 6 /* In process of forking; do not mess with */ +#define P_ZOMBIE 7 /* Exited. */ +#define P_NOSLEEP 8 /* Internal no-sleep state, never visible to ps */ /* Process table entry */ -- 2.34.1