From: Matthias Kruk Date: Tue, 29 Oct 2019 05:06:21 +0000 (+0900) Subject: Add TASK_STATE_EXIT state to identify tasks that are exitting X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=85c705a1ba2cf04161f95bf16c6a80af5ca7fb3c;p=corax Add TASK_STATE_EXIT state to identify tasks that are exitting --- diff --git a/kernel/include/arch.h b/kernel/include/arch.h index eb42a61..2d97c34 100644 --- a/kernel/include/arch.h +++ b/kernel/include/arch.h @@ -26,6 +26,7 @@ #define TASK_STATE_READY 2 #define TASK_STATE_WAITING 3 #define TASK_STATE_BROKEN 4 +#define TASK_STATE_EXIT 5 typedef struct task task_t;