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

Integration Candidate: 2020-11-03 #213

Merged
merged 6 commits into from
Nov 4, 2020
Merged

Integration Candidate: 2020-11-03 #213

merged 6 commits into from
Nov 4, 2020

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Nov 3, 2020

Describe the contribution
Fix #199, set kernel task name for OSAL tasks

Testing performed
See framework-bundle CI: https://github.com/nasa/cFS/pull/154/checks

Expected behavior changes

PR #212 - Use event callback mechanism to invoke pthread_setname_np() such that the OS kernel is informed of the OSAL task name. /proc filesystem on Linux now has actual task name, instead of all being core-cpu1. The pthread_setname_np API requires _GNU_SOURCE to be defined when compiling - this can be local to PSP.

HOTFIX - Move variable declaration in fsw/pc-linux/src/cfe_psp_start.c

HOTFIX - Set REVISION to "99" to indicate development version in version.h

System(s) tested on
Ubuntu on Travis CI

Additional context
Part of nasa/cFS#154

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
@jphickey

jphickey and others added 4 commits October 23, 2020 17:57
Use event callback mechanism to invoke pthread_setname_np() such
that the OS kernel is informed of the OSAL task name.
Fix #199, set kernel task name for OSAL tasks
Indicate unreleased development version by setting revision number to 99 to match cfe and osal. See nasa/cFE#853
@astrogeco astrogeco marked this pull request as ready for review November 4, 2020 01:57
@astrogeco astrogeco changed the title Integration candidate Integration Candidate: 2020-11-03 Nov 4, 2020
@astrogeco astrogeco merged commit e3249a9 into main Nov 4, 2020
astrogeco added a commit to nasa/cFS that referenced this pull request Nov 4, 2020
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.

Set thread name on pc-linux
2 participants