Wait for multiple objects implementation#31
Open
mirosator wants to merge 2 commits intoMartinUbl:masterfrom
Open
Wait for multiple objects implementation#31mirosator wants to merge 2 commits intoMartinUbl:masterfrom
mirosator wants to merge 2 commits intoMartinUbl:masterfrom
Conversation
- using or on GPIO registry changes so that the same event detection can be applied on multiple gpio pins - fixed wait_for_event to correctly link a new file as the previous of the current one
…ame time - Files can use wait_all to wait on multiple tasks, the returned uint32_t is then the file handle that woke the process up, or value of Invalid_Handle (-1), if some issue occurred or it was woken up and it was not determined what woke the process up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added SWI to wait on multiple file handles from user tasks. SWI call wait_all returns the file handle that has woken up the process upon returning.
Relies on fixes from #29
Solves #9