Skip to content

Fix nasa#1568, task affinity support vxrtp - #1569

Open
arodarrow wants to merge 3 commits into
devfrom
1568-add-vxworks-rtp-task-affinity-support
Open

Fix nasa#1568, task affinity support vxrtp#1569
arodarrow wants to merge 3 commits into
devfrom
1568-add-vxworks-rtp-task-affinity-support

Conversation

@arodarrow

@arodarrow arodarrow commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Checklist (Please check before submitting)

Describe the contribution
Adding SMP API to OSAL for VxWorks RTP

Testing performed
Built with VxWorks RTP on the vxsim. Looked at event messages at startup and used get and set affinity cmds to verify expected values.

Expected behavior changes
Able to change task affinity and get core num information

System(s) tested on

  • VxSIM(on a linux VM)
  • OS: VxWorks rtp

Contributor Info - All information REQUIRED for consideration of pull request
Adrian Rodriguez NASA GSFC

@arodarrow arodarrow linked an issue Aug 21, 2026 that may be closed by this pull request
NOTES: This wrapper function is only used locally by OS_TaskCreate below

---------------------------------------------------------------------------------------*/
static void *OS_PthreadTaskEntry(void *arg)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of duplicating the entire file you could move the OS_PthreadTaskEntry() routine to a separate file and have a standard POSIX version and a VxWorks-RTP version that stores the VxWorks task id.

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.

Add VxWorks RTP task affinity support

3 participants