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 #28, provide library API #960

Merged
merged 3 commits into from
Oct 28, 2020

Commits on Oct 26, 2020

  1. Fix nasa#950, race condition in control request

    Because the process of handling a control request involves
    calling other subsystems, the ES lock needs to be released.
    However, this also means that the app record can change state
    for other reasons, such as the app self-exiting at the same
    time.
    
    To avoid this possibility, process in two phases:
    
    First assemble a list of tasks that have timed out
    and need to be cleaned up, while ES is locked.
    
    Next actually perform the cleanup, while ES is unlocked.
    In areas during cleanup that need to update the ES global,
    the lock is locally re-acquired and released.
    jphickey committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    6932f1f View commit details
    Browse the repository at this point in the history
  2. Fix nasa#173, refactor app and lib loading procedure

    Reorganize the global data structures for apps and
    libraries into components that can be shared between
    the two concepts.
    
    Break up the monolithic AppCreate and LoadLibrary
    functions and have these call subroutines that
    operate on the common components.
    jphickey committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    0749d69 View commit details
    Browse the repository at this point in the history
  3. Fix nasa#28, Provide Library API similar to App API

    Allows the existing "CFE_ES_AppInfo_t" structure to be extended to
    libraries as well as applications by introducing a new value (3)
    for the Type field.
    
    Allows Libraries to be queried via API calls similar to App API.
    
    Also extends the Query All/Query One commands to operate on
    Libraries or Applications.
    jphickey committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    1c75d33 View commit details
    Browse the repository at this point in the history