You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Both timebase and console start "internal" tasks, which skips the event handler support called from XXX and the default flags applied in OS_TaskCreate.
Note RTEMS examples shown but also applies to at least posix:
Noticed as part of #1421, since it also skipped adding the posix task names. This is somewhat unexpected and inflexible behavior as these two tasks become "special" in that they can't be assigned core affinity or other common behavior supported by the normal osal tasks.
To Reproduce
Code inspection, but easy to prove (task name not set, affinity not set, etc)
Expected behavior
Even though these are osal internal tasks, should support at least a subset of these common behaviors.
Code snips
See above
System observed on:
RTEMS
Additional context
None
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
Describe the bug
Both timebase and console start "internal" tasks, which skips the event handler support called from XXX and the default flags applied in OS_TaskCreate.
Note RTEMS examples shown but also applies to at least posix:
timebase internal task create/start:
osal/src/os/rtems/src/os-impl-timebase.c
Lines 378 to 394 in b5dd01c
console internal task create/start:
osal/src/os/rtems/src/os-impl-console.c
Lines 159 to 176 in b5dd01c
Event handler called from OS_TaskCreate->OS_TaskCreate_Impl->rtems_task_start->OS_RtemsEntry->OS_TaskEntryPoint->OS_TaskPrepare->OS_NotifyEvent
Default flags are set in OS_TaskCreate:
osal/src/os/shared/src/osapi-task.c
Lines 195 to 196 in b5dd01c
Noticed as part of #1421, since it also skipped adding the posix task names. This is somewhat unexpected and inflexible behavior as these two tasks become "special" in that they can't be assigned core affinity or other common behavior supported by the normal osal tasks.
To Reproduce
Code inspection, but easy to prove (task name not set, affinity not set, etc)
Expected behavior
Even though these are osal internal tasks, should support at least a subset of these common behaviors.
Code snips
See above
System observed on:
RTEMS
Additional context
None
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: