Keil™, An ARM® Company

Technical Support

ARTX: EXECUTION ORDER OF TASKS


Information in this article applies to:

  • ARTX-ARM Version 2 or higher
  • ARTX-166 All Versions

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

Last Reviewed: Thursday, October 12, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure