-
Notifications
You must be signed in to change notification settings - Fork 2k
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
core/sched: add sched_change_priority() #17093
Conversation
LGTM, let's get some experience for this. |
694f1a6
to
68c8630
Compare
This might need a rebase to pass static checks when #17104 is in... |
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
68c8630
to
034bdf1
Compare
Did so just in case. Also added a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If @kaspar030 is OK with it on a conceptual level, the change looks goodⁿᶦᶜᵉ to me.
There's a slight performance drop (bench_thread_flags_pingpong on nrf52840dk):
(HEAD is the master fork point). It's ~1%. So room for getting some of that back in the future. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK.
|
there seems to be a slight problem with that Python f-strings (introduced in Python 3.6) The only test user in master of that python feature in master is the test gnrc_dhcpv6_client, but that is a test with config and therefore not run by murdock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not stall this one because the python version in rpi is old...
51ca128
to
755652b
Compare
I squashed the suggested fix right in to save a CI cycle. |
Only the usual |
Contribution description
This PR is a rebase of the
sched_change_priority()
function from #7445 (introduced in commit 976d17f) with some changes:Testing procedure
A test application was added that contains an automatic test. E.g.
Issues/PRs references
#7445