diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-11 09:27:16 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-11 09:27:16 +0100 |
commit | aa5e2760711c092e1235105ebf097ac594512370 (patch) | |
tree | d191ead558d5913cc51df8734398c7fe981d80e9 /src/common/include | |
parent | 0e50ada984473de20ba47c2ebdbe36b3dad78dd1 (diff) | |
download | kogata-aa5e2760711c092e1235105ebf097ac594512370.tar.gz kogata-aa5e2760711c092e1235105ebf097ac594512370.zip |
Fix process exiting.
Diffstat (limited to 'src/common/include')
-rw-r--r-- | src/common/include/proto/proc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common/include/proto/proc.h b/src/common/include/proto/proc.h index fafb2fd..29b5b91 100644 --- a/src/common/include/proto/proc.h +++ b/src/common/include/proto/proc.h @@ -7,10 +7,9 @@ typedef int pid_t; #define PS_LOADING 1 #define PS_RUNNING 2 -#define PS_EXITING 3 -#define PS_FINISHED 4 -#define PS_FAILURE 5 // exception or segfault or stuff -#define PS_KILLED 6 +#define PS_FINISHED 3 +#define PS_FAILURE 4 // exception or segfault or stuff +#define PS_KILLED 5 #define FAIL_EXCEPTION 1 // unhandled processor exception #define FAIL_ZEROPTR 2 // segfault at < 4k |