-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Function z_find_first_thread_to_unpend() missing coverage in sched.c #32691
Labels
Comments
Agreed. This looks to have been orphaned fairly recently; there was a scheduler race fix a while back (that exposed another issue, and begat the big abort rewrite and bug hunt of the past two weeks) that addressed synchronization issues by combining operations in a few spots. This looks like a "half" of the operation that got combined. |
Working on the changes and will submit a PR soon. |
yerabolu
added a commit
to yerabolu/zephyr
that referenced
this issue
Mar 4, 2021
Due to the recent changes to scheduler z_find_first_thread_to_unpend & z_remove_thread_from_ready_q are not used anymore. So removing the dead code. fixes: zephyrproject-rtos#32691 Signed-off-by: Spoorthy Priya Yerabolu <[email protected]>
ioannisg
pushed a commit
that referenced
this issue
Mar 5, 2021
Due to the recent changes to scheduler z_find_first_thread_to_unpend & z_remove_thread_from_ready_q are not used anymore. So removing the dead code. fixes: #32691 Signed-off-by: Spoorthy Priya Yerabolu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
Function z_find_first_thread_to_unpend() missing coverage in sched.c.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It's probably dead code that should be removed.
Environment (please complete the following information):
OS: ubuntu1~18.04
Toolchain zephyr-sdk-0.12.1
Commit id 5de3f85
The text was updated successfully, but these errors were encountered: