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 #1304, locks for condvar objects on rtems/vxworks #1311

Merged
merged 1 commit into from
Oct 17, 2022

Commits on Oct 10, 2022

  1. Fix nasa#1304, locks for condvar objects on rtems/vxworks

    Instantiate the condvar lock on rtems and vxworks even though the
    feature is not currently implemented.  This is because OS_MAX_CONDVARS
    must still be nonzero and if the "Create" function is called, it still
    goes through the motions of allocating an ID.
    
    This also adds a NULL check in the lock implementation, and thus if a
    lock is not instantiated in the future this will not dereference a NULL
    pointer.
    jphickey committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    954f053 View commit details
    Browse the repository at this point in the history