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

add new system calls to block and unblock tasks #72

Merged
merged 4 commits into from
Oct 6, 2020

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented Oct 6, 2020

  • these system calls are required to support the latest nightly compiler

@stlankes
Copy link
Contributor Author

stlankes commented Oct 6, 2020

rust-lang/rust#77147 simplifies things by splitting this Mutex type into two types matching the two use cases: StaticMutex and MovableMutex. To support the behavior of StaticMutex, we move part of the mutex implementation into libstd. Consequently, we introduce new system calls.

I will accept this PR to create a PR for libstd

@stlankes stlankes merged commit baf3483 into hermit-os:master Oct 6, 2020
@stlankes stlankes deleted the lock branch October 6, 2020 08:51
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.

1 participant