diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/schedule.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h index c3c748b..e10018c 100644 --- a/include/sys/schedule.h +++ b/include/sys/schedule.h @@ -6,12 +6,12 @@ #include <sys/core.h> enum ThreadStatus { - THREAD_READY, - THREAD_WAITING, - THREAD_WAITING_FOR_MUTEX, - THREAD_STACK_ERROR, - THREAD_RUNNING, - THREAD_FINISHED, + THREAD_READY = 0, + THREAD_RUNNING = 1, + THREAD_WAITING = 2, + THREAD_WAITING_FOR_MUTEX = 3, + THREAD_FINISHED = 4, + THREAD_STACK_ERROR = 5, }; struct cpu_context { |