-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The SAMPLE_APP, which is supposed to exemplify the current best practices, shouldn't be pending forever on a software bus message as it does here:
sample_app/fsw/src/sample_app.c
Lines 85 to 87 in b956292
| status = CFE_SB_RcvMsg(&SAMPLE_AppData.MsgPtr, | |
| SAMPLE_AppData.CommandPipe, | |
| CFE_SB_PEND_FOREVER); |
The problem with pending forever is that the app also needs to perform an orderly exit if a restart/reload/delete command is sent to ES, which is checked by CFE_ES_RunLoop(). If an app is pending forever for software bus messages but none are sent, then the shutdown request will remain pending indefinitely.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request