-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat(threads): dynamic thread priorities #370
feat(threads): dynamic thread priorities #370
Conversation
Seems like the hax issue in CI (lack of support for RIOT-rs/.github/workflows/hax.yml Lines 14 to 18 in 2e84cce
|
Thank you for pointing this out! I opened #378 to update our hax version. |
3cc8196
to
bfe1c48
Compare
I see that you've already reported a few months the hax issue the CI is currently failing with. |
0cb0ee9
to
2bbea44
Compare
2bbea44
to
5f096ef
Compare
Still blocked by hacspec/hax#603. |
I suppose you could add a small |
f7297fb
to
ebf342a
Compare
Rebased & addressed reviews. I also refactored the |
I tried doing that with c969899, but unfortunately that then fails because early returns from loops aren't supported: hacspec/hax#196. Edit: hmm, still doesn't work, no it fails because it doesn't know |
33f723e
to
1c4acd6
Compare
Rebased & addressed the reviews. Hax check now also passes, thanks to @ROMemories! |
Could you rebase on main? I'd like to test #437 on this PR 🙂 |
1c4acd6
to
6d52116
Compare
Compared to `Runqueue::pop_head` (which previously was called `Runqueue::del`), this also supports deleting threads that aren't head of their rq.
92124c5
to
069076e
Compare
LGTM! |
09927ba
to
5e240e6
Compare
Needed because hax doesn't support `Iterator::position` yet, see hacspec/hax#603.
Description
Allow users to dynamically change thread priorities at runtime.
Issues/PRs references
Fixes #320
Depends on #437
Open Questions
Change checklist