]> git.corax.cc Git - corax/commitdiff
Add TASK_STATE_EXIT state to identify tasks that are exitting
authorMatthias Kruk <m@m10k.eu>
Tue, 29 Oct 2019 05:06:21 +0000 (14:06 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 29 Oct 2019 05:06:21 +0000 (14:06 +0900)
kernel/include/arch.h

index eb42a6158d22062cf3cb7dabffe19bc18dcbd97a..2d97c34aac70fdb768d1e44c962f81454380b39a 100644 (file)
@@ -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;