Skip to content

add new system calls to block and unblock tasks#72

Merged
stlankes merged 4 commits intohermit-os:masterfrom
stlankes:lock
Oct 6, 2020
Merged

add new system calls to block and unblock tasks#72
stlankes merged 4 commits intohermit-os:masterfrom
stlankes:lock

Conversation

@stlankes
Copy link
Copy Markdown
Contributor

@stlankes stlankes commented Oct 6, 2020

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

@stlankes
Copy link
Copy Markdown
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