Keil Logo

Task Scheduler

The Task Scheduler assigns the processor to a task. The RTX51 Tiny scheduler determines which task to run using to the following rules:

The current task is interrupted if:

  1. The task calls the os_switch_task and another task is ready to run.
  2. The task calls the os_wait function and the specified event has not occurred.
  3. The task has executed for longer than the defined round-robin time slice.

Another task is started if:

  1. No other task is running.
  2. The task to be started is in the READY State or TIME-OUT State.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.