Embos Real-time operating system-task status

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.