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

Make Framer.comStatusIn port sync, avoid mutual exclusion locking #2045

Merged
merged 1 commit into from May 25, 2023

Conversation

pcrosemurgy
Copy link
Contributor

@pcrosemurgy pcrosemurgy commented May 24, 2023

Originating Project/Creator
Affected Component Framer
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n) n
Builds Without Errors (y/n) y
Unit Tests Pass (y/n) y
Documentation Included (y/n) n

Change Description

This change allows the Framer.comStatusIn port to be called synchronously. Previously, a deadlock situation occurred when routing

      radio.comStatus -> framer.comStatusIn
      framer.comStatusOut -> comQueue.comStatusIn

due to this port being guarded.

Verification

Tested with the topology above. Downlink worked as expected with F' GDS.

@pcrosemurgy pcrosemurgy changed the title Make comStatusIn port sync, avoid mutual exclusion locking Make Framer.comStatusIn port sync, avoid mutual exclusion locking May 24, 2023
@pcrosemurgy pcrosemurgy marked this pull request as ready for review May 24, 2023 21:30
@LeStarch LeStarch merged commit a919d8f into nasa:devel May 25, 2023
21 checks passed
Boehm-Michael pushed a commit to Boehm-Michael/fprime that referenced this pull request Jun 22, 2023
thomas-bc added a commit that referenced this pull request Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants