-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add sleep(1) before exit call when printing #299
Comments
Similar/related issue to #203 (this is the symptom anyway). I may even have a patch/fix that was never merged for that issue already done somewhere from when I quickly looked at it. Note that use of |
Would calling |
Ok, I now used the OS_TaskDelay since it's the implemented behaviour of the OSAL package but maybe I could use fflush(stdout) if someone who knows the project can give a short feedback on this. And if OS_TaskDelay is used maybe only 100 milliseconds are required because this value is already used in: PSP/fsw/pc-linux/src/cfe_psp_start.c Lines 468 to 474 in 6d40816
|
Fix nasa#299, Sleep before exit when printing
Is your feature request related to a problem? Please describe.
User reported OS_print doesn't display before exit, for example:
PSP/fsw/pc-linux/src/cfe_psp_memory.c
Lines 145 to 146 in 6d40816
Describe the solution you'd like
Add sleep(1) between prints and exits to give it a chance
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: