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

kernel: work: fix schedule from running work #33354

Merged
merged 1 commit into from
Mar 29, 2021

Commits on Mar 15, 2021

  1. kernel: work: fix schedule from running work

    k_work_schedule() is supposed to be a no-op if the work item is
    already scheduled or submitted: the previous schedule is left
    unchanged.  The check incorrectly inhibited the schedule operation
    when the work item was neither scheduled nor submitted, but was
    running.
    
    Signed-off-by: Peter Bigot <[email protected]>
    pabigot committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    a42ac7f View commit details
    Browse the repository at this point in the history