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

Fix #1088, avoid task delete during UtPrintf #1093

Merged

Commits on Jun 25, 2021

  1. Fix nasa#1088, avoid task delete during UtPrintf

    In the osal_core_UT test, the test task was being deleted while it was
    in the midst of a UtPrintf call, which left the BSP mutex in a locked
    state, causing deadlock.
    
    Using SEM_DELETE_SAFE attribute avoids task deletion for the mutex
    holder, and adding a small delay to the test case makes all the
    messages appear as expected (accounts for slow serial console on
    test platform).
    jphickey committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    4c5c953 View commit details
    Browse the repository at this point in the history