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 <[email protected]>
68c8630 to
034bdf1
Compare
Did so just in case. Also added a |
benpicco
left a comment
There was a problem hiding this comment.
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 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 |
fjmolinas
left a comment
There was a problem hiding this comment.
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