Merged
Conversation
Fix the UtPrintx() routine such that the loop stops correctly. Also improves the output to print the address, not just the data. Note if UtPrintf is used, one sees the file/line of the UtPrintx function, not the actual test location, so it is better to call UT_BSP_DoText directly so it omits this extraneous info.
Adds an OS_SocketShutdown() wrapper around the BSD socket shutdown() API. This allows a data transfer of a stream socket to be gracefully shut down prior to socket closure.
Fix #964, UtPrintx function
Fix #960, add socket shutdown implementation
astrogeco
added a commit
to nasa/cFS
that referenced
this pull request
May 5, 2021
cfe v6.8.0-rc1+dev559 and osal v5.1.0-rc1+dev417 Combines: nasa/osal#979 nasa/cFE#1481 Includes: nasa/osal#973, UtPrintx function nasa/osal#976, add socket shutdown implementation nasa/cFE#1418, add ES CDS Functional test nasa/cFE#1429, Function comment blocks nasa/cFE#1414, Add Header Functional tests. nasa/cFE#1415, add Current Time Functional Test
jphickey
added a commit
to jphickey/osal
that referenced
this pull request
Aug 10, 2022
Add the task info and priority to the data structure written by the QUERY_ALL_TASKS command. Leaving out entry point, as it would be a memory address and not useful/relevant outside the process.
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.
Description
PR #973
Fix #964, UtPrintx function
Fixes infinite loop in
UtPrintx(). Adds the data's memory address to output. Note, UtPrintf displays the the file/line of theUtPrintxfunction, not the actual test location; it is better to callUT_BSP_DoTextdirectly.PR #976
Fix #960, add socket shutdown implementation
Adds
OS_SocketShutdown()API wrapper around BSD's socket shutdown() API. This allows a data transfer of a stream socket to be gracefully shut down prior to socket closure.Context
Part of nasa/cFS#252
Testing
osal checks https://github.com/nasa/osal/pull/979/checks
cFS Bundle checks https://github.com/nasa/cFS/pull/252/checks
Authors
@jphickey