ARM Technical Support Knowledge Articles

EXECUTION ORDER OF TASKS

Applies to: Advanced RTOS

Answer


Information in this article applies to:


QUESTION

What happens when several tasks with the same priority are ready? Is it guaranteed that the task which waits for the longest time gets executed first? This is required to service hardware such as a watchdog timer.

ANSWER

Task execution is based on a ready list which is organized as a FIFO. The task which has become ready first, will be served first. Therefore you may service a watchdog timer in a low priority task in your system.

SEE ALSO

Article last edited on: 2006-10-12 15:42:20

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential