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

Optimize xTaskIncrementTick for configNUMBER_OF_CORES > 1 #1118

Merged
merged 2 commits into from
Aug 19, 2024

Commits on Aug 15, 2024

  1. Optimize xTaskIncrementTick for configNUMBER_OF_CORES > 1

    The original implementation only initializes the first
    variable. After executing xTaskIncrementTick, the schedule
    might not behave as expected.
    
    When configUSE_PREEMPTION == 1 & configUSE_TIME_SLICING == 1,
    replace setting xYieldRequiredForCore[ xCoreID ] with setting
    xYieldPendings[ xCoreID ].
    
    And when configUSE_PREEMPTION == 1, simplify the check
    condition to only check xYieldPendings[ xCoreID ].
    
    Signed-off-by: cymzier <cymb103u@cs.ccu.edu.tw>
    cymizer committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0dce915 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Merge branch 'main' into main

    aggarg authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    d3c8e45 View commit details
    Browse the repository at this point in the history