|
|||||||||||
Technical Support Support Resources
Product Information |
RTX51 TINY: Setting Round-Robin Timesharing to 1Information in this article applies to:
SYMPTOMSIn CONF_TNY.A51, you may specify a value for the number of ticks each task runs in round-robin multitasking.
Any value other than 0 enables round-robin multitasking. However, setting TIMESHARING to a value of 1 causes problems with the real-time kernel. This value should be avoided. CAUSEWhen the value for TIMESHARING is 1, a race condition may occur when creating tasks. If a new task is created just before the next timer tick interrupt occurs, you may get a round robin time-out for the newly created and activated task. However, in this case no round-robin time switch occurs and the task runs until the next time out. This means that this task will run for 256 RTX timer ticks. The same problem might appear when a task switch occurs due to an os_wait call in another task. RESOLUTIONDon't set TIMESHARING to 1 for round-robin multitasking. MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
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.