RL-ARM User's Guide

Round-Robin Multitasking

The following #define specify how the RTX kernel Round-Robin Multitasking is configured:

  • OS_ROBIN enables the Round-Robin Multitasking. It must be set to 1 to enable it or 0 to disable it. It is enabled by default.
    #define OS_ROBIN       1
    
  • OS_ROBINTOUT specifies the Round-Robin Timeout. This is the time-slice assigned to the currently running task. After this time-slice expires, the currently running task is suspended and the next task ready to run is resumed. It is specified in number of system timer ticks.
    #define OS_ROBINTOUT   5