Skip to content

Commit ea24aa8

Browse files
include tcb header changes
1 parent afaeaa9 commit ea24aa8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

jocktos/inc/tcb.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ typedef enum {
8888
RUNNING = 0, ///< The task is currently executing on the CPU with priority over others.
8989
READY = 1, ///< The task is ready and waiting for execution by the scheduler.
9090
BLOCKED = 2, ///< The task is waiting for a resource (e.g., semaphore, mutex) to become available.
91-
SUSPENDED = 3 ///< The task is temporarily inactive and can be reactivated by an event.
91+
SUSPENDED = 3, ///< The task is temporarily inactive and can be reactivated by an event.
92+
TERMINATED = 4 ///< The task has been terminated and is no longer executing.
9293
} TaskState;
9394

9495
/**

0 commit comments

Comments
 (0)