Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset xNextTaskUnblockTime in task notify FromISR APIs #1111

Merged
merged 4 commits into from
Aug 6, 2024

Commits on Aug 5, 2024

  1. Reset xNextTaskUnblockTime in task notify FromISR APIs

    If a task is blocked waiting for a notification then
    xNextTaskUnblockTime might be set to the blocked task's timeout time. If
    the task is unblocked for a reason other than a timeout
    xNextTaskUnblockTime is normally left unchanged, because it will
    automatically get reset to a new value when the tick count equals
    xNextTaskUnblockTime. However if tickless idle is used it is important
    to enter sleep mode at the earliest possible time - so reset
    xNextTaskUnblockTime here to ensure it is updated at the earliest
    possible time.
    
    This was reported here -
    https://forums.freertos.org/t/the-vtaskgenericnotifygivefromisr-function-need-call-prvresetnexttaskunblocktime/21090
    
    Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
    aggarg committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    b8471ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cfbfd9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28c4fcd View commit details
    Browse the repository at this point in the history
  4. Trigger Sonar

    aggarg committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    f6190be View commit details
    Browse the repository at this point in the history