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

Fix #120, Exit console loop on shutdown #667

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Dec 2, 2020

Describe the contribution
Fix #120

Replaced condition on forever loops to end on shutdown.

Testing performed
Built and ran unit tests for posix, built on vxworks (planning to build on RTEMs using the latest setup instructions...)

Expected behavior changes

  • Loop will exit on shutdown

System(s) tested on

  • Hardware: cFS Dev server
  • OS: Ubuntu 18.04
  • Versions: Bundle main + this change

Additional context
What about also checking for a semaphore error on posix/rtems (or at least non-interrupt)? Would make it consistent with vxworks.

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added enhancement CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Dec 2, 2020
@astrogeco astrogeco added CCB-20201202 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Dec 2, 2020
@astrogeco
Copy link
Contributor

astrogeco commented Dec 2, 2020

CCB 2020-12-02 APPROVED

  • @skliper Open another issue to check semtake return

@skliper
Copy link
Contributor Author

skliper commented Dec 9, 2020

Added #668 to cover semtake return. @astrogeco - anything else holding this up?

@astrogeco
Copy link
Contributor

Added #668 to cover semtake return. @astrogeco - anything else holding this up?

Nope, will merge shortly

@astrogeco astrogeco changed the base branch from main to integration-candidate December 9, 2020 15:24
@astrogeco
Copy link
Contributor

Added #668 to cover semtake return. @astrogeco - anything else holding this up?

Nope, will merge shortly

@skliper new conflicts after base change :(

@skliper
Copy link
Contributor Author

skliper commented Dec 9, 2020

@astrogeco fixed conflicts.

@astrogeco astrogeco merged commit d2d9882 into nasa:integration-candidate Dec 9, 2020
astrogeco added a commit to nasa/cFS that referenced this pull request Dec 9, 2020
@skliper skliper deleted the fix120-forever-loop branch February 1, 2021 21:36
@skliper skliper added this to the 6.0.0 milestone Sep 24, 2021
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
This replaces native_osconfig.h and enables running UT as a
normal user when SIMULATION=native.  Travis-CI requires this.
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
The osconfig.h file is now generated rather than as a normal
header file in the source tree.  A path must be included to
resolve refs in doxygen.
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Generate an osconfig.h specially for doxygen, independently
of the file actually used for the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vxworks osapi.c utility task doesn't exit
2 participants