Keil™, An ARM® Company

Technical Support

RTX51: WHICH SYSTEM FUNCTIONS ALLOW A TASK SWITCH


Information in this article applies to:

  • RTX51 Version 3.10

QUESTION

Which RTX51 System Functions allows a task switch to occur, assuming I am not using Round-Robin?

ANSWER

At the end of all RTX51 System Function calls, the system checks the status of all tasks. If one task has become ready to run and has a higher priority than the one executed, then a task switch occurs.

The following system calls may set a task into the READY state. The task with the highest priority in the READY state is executed:

  • os_send_signal
  • isr_send_signal
  • os_send_message
  • isr_send_message
  • os_send_token

MORE INFORMATION

Last Reviewed: Friday, July 15, 2005


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