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

work: k_work_schedule from running work item does not schedule #33353

Closed
pabigot opened this issue Mar 15, 2021 · 0 comments · Fixed by #33354
Closed

work: k_work_schedule from running work item does not schedule #33353

pabigot opened this issue Mar 15, 2021 · 0 comments · Fixed by #33354
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@pabigot
Copy link
Collaborator

pabigot commented Mar 15, 2021

k_work_schedule() is supposed to be a no-op if the work item is already scheduled or submitted: the deadline from the previous schedule operation is left unchanged.

It's not supposed to be a no-op if the work item is running: i.e.

k_work_schedule(work, K_NO_WAIT);

from within the work handle should work.

It doesn't.

@pabigot pabigot added the bug The issue is a bug, or the PR is fixing a bug label Mar 15, 2021
@galak galak added the has-pr label Mar 16, 2021
@nashif nashif added the priority: medium Medium impact/importance bug label Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants