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

avoid deadlock when multiple cores are available #106

Merged
merged 9 commits into from
Sep 21, 2020
Merged

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented Sep 19, 2020

@stlankes stlankes marked this pull request as draft September 19, 2020 06:31
@stlankes stlankes requested a review from tlambertz September 20, 2020 18:22
@stlankes
Copy link
Contributor Author

@tlambertz The patch works on my test system. Does it work on you system? It was a stupid issues.

@stlankes
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Sep 20, 2020
@bors
Copy link
Contributor

bors bot commented Sep 20, 2020

@stlankes stlankes requested a review from jbreitbart September 20, 2020 20:24
@stlankes stlankes marked this pull request as ready for review September 20, 2020 20:29
@stlankes stlankes removed the request for review from tlambertz September 20, 2020 20:31
src/scheduler/task.rs Outdated Show resolved Hide resolved
src/scheduler/task.rs Outdated Show resolved Hide resolved
src/scheduler/task.rs Outdated Show resolved Hide resolved
src/scheduler/task.rs Outdated Show resolved Hide resolved
@jbreitbart
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 21, 2020

@bors bors bot merged commit 139bb41 into hermit-os:master Sep 21, 2020
simonschoening pushed a commit to simonschoening/libhermit-rs that referenced this pull request Aug 26, 2021
106: avoid deadlock when multiple cores are available r=jbreitbart a=stlankes

- PR should solve issues hermit-os#105
- add integration test to show this behavior
- make sure that the task is always added to the list of blocked task => avoid "loosing" of tasks

Co-authored-by: Stefan Lankes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants