A task May is in one of the several states at any given time. When a-task is created, it's placed into the.
A task in the activated as soon as there are no other tasks in the ready state with higher priority.
Only one task is running at a time.
If a task with higher precedence becomes ready, this higher priority task was activated and the preempted task remains in the Ready state.
The running task is delayed for or until a specified time;
In this case it was placed into the waiting state
And the next-highest-priority task is activated.
The running task might need to wait for an event (or semaphore, mailbox or queue).
If the event has not yet occurred, the task was placed into the waiting state
And the next-highest-priority task is activated.
A non-existent task is one, which is not yet available to Embos; It either has been terminated or is not created at all.
The following illustration shows all possible task states and transitions between them.
Embos Real-time operating system-task status