-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
lestarch: reworking posix tasks #992
Merged
Merged
Conversation
This file contains 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
@check-spelling-bot ReportUnrecognized words, please review:
Previously acknowledged words that are now absentdifferend FIXME followd lgcov lxr setoptTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the git@github.com:LeStarch/fprime.git repository
|
LeStarch
changed the title
lestarch: rewokring posix tasks
lestarch: reworking posix tasks
Aug 31, 2021
LeStarch
force-pushed
the
update/posix-task-rework
branch
from
August 31, 2021 17:38
78a87d5
to
3079f39
Compare
LeStarch
force-pushed
the
update/posix-task-rework
branch
from
September 2, 2021 16:57
8066b06
to
ae37a92
Compare
LeStarch
force-pushed
the
update/posix-task-rework
branch
from
September 2, 2021 17:39
56217a3
to
3f6a902
Compare
Joshua-Anderson
approved these changes
Sep 3, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
timcanham
requested changes
Sep 7, 2021
timcanham
approved these changes
Sep 8, 2021
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.
Change Description
There were several issues in the Os/Posix/Task.cpp and Os/Posix/TaskRoot.cpp. These were:
This PR fixes the above issues by:
The design of this PR is to keep existing applications running as-is, but produce warnings to indicate corrections that should be made. In a future PR, these warnings will be removed, and users will be forced to upgrade.
Rationale
If a user specifies stack size/priority it should work, not silently be discarded. For users that don't care, a default should be provided that maps to posix defaults. If the user does not have permission, the program should fail.
Testing/Review Recommendations
Future Work
Given this is devel and we don't want to break all users, we have provided warnings for the time being. As we approach release v3.0.0, we need to remove the warnings and replace them with hard-failures forcing users to upgrade.