Skip to content

Conversation

@kstribrnAmzn
Copy link
Member

Description

This commit corrects vTaskPriorityDisinheritAfterTimeout to reset the previously inherited priority when the task disiheriting timeout was the only task at that priority. Without this change the ready list for the inherited priority will remain set when no task is ready at that priority. This can have consequences later as the ready priority flags are assumed to be accurate.

Thanks @wirelinker for bringing this to the teams attention!

Test Steps

Testing this on Monday when I have a dev board handy.

Automated UTs are passing.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • [ N/A ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.
    • Note: Bug fix with UT already correct

Related Issue

#1337

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This commit corrects vTaskPriorityDisinheritAfterTimeout
to reset the previously inherited priority when the task
disiheriting timeout was the only task at that priority.
Without this change the ready list for the inherited
priority will remain set when no task is ready at that priority.
This can have consequences later as the ready priority flags are
assumed to be accurate.
@sonarqubecloud
Copy link

@kstribrnAmzn
Copy link
Member Author

Closing as this will break correct behavior. See explanation on #1337.

@kstribrnAmzn kstribrnAmzn deleted the disinheritTimeoutFix branch December 1, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant