Keil Logo

Cooperative Task Switching

If you disable Round-Robin Multitasking, you must design and implement your tasks so they work cooperatively. Specifically, you must call the os_wait function or the os_switch_task function somewhere in each task. These functions signal RTX51 Tiny to switch to another task.

The difference between os_wait and os_switch_task is that os_wait allows your task to wait for an event while os_switch_task switches to another ready task immediately.

Related Knowledgebase Articles

  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.