FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2010 Threads] Details of old bug fix for change of priorityPosted by Bernhard on November 3, 2010 I'm stuck with version 3.2.0 of FreeRTOS in some ancient code and updating to a newer version is not really an option, unfortunately. My platform is an ARM7 controller (STR710). The compiler tool chain I use is YAGARTO. I would like to use the feature vTaskPrioritySet() when evolving the code but found a notice in the http://www.freertos.org/History.txt for the change from version 4.0.4 to version 4.0.5: “Bug fix: The 'value' of the event list item is updated when the priority of a task is changed. Previously only the priority of the TCB itself was changed.” Can anyone help me with the following questions:
- Does this fix affect a bug that was present in version 3.2.0 already?[/il]
- If so, are there any details on this issue still available (old ticket or such)? What would the effect of that bug be?[/il]
Thank you for all and any help, Bernhard
RE: Details of old bug fix for change of priorityPosted by Richard on November 3, 2010 Wow, that is going back a long way. From the sound of the description the problem would have been that after calling vTaskPrioritySet( task_id, new_priority ) the task associated with task_id would only have changed to new_priority the next time it executed. In other words, when the scheduler was making a decision as to which task to execute next the decision would have been made as if task_id had its original priority, but once it had been selected from that point on the decision would be made as if it had its new priority.
Regards.
RE: Details of old bug fix for change of priorityPosted by Bernhard on November 8, 2010 Thank you very much for the help.
Regards, Bernhard
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|