-
Notifications
You must be signed in to change notification settings - Fork 64
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
Do not create the temporary dependency link if a connection between f… #1085
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
cf6e8a0
Do not create the temporary dependency link if a connection between f…
edwardalee f1a143a
Also don't create the dependency for network input control reactions
Soroosh129 3303673
Merge remote-tracking branch 'origin/master' into federated-delay-fix
edwardalee baabf2f
Aligned reactor-c with main
edwardalee 79fe28e
Added a simple test
Soroosh129 39ce6a1
Merge remote-tracking branch 'origin/master' into federated-delay-fix
Soroosh129 bcec02d
Removed unrelated test
Soroosh129 fb97cdd
Updated ref to reactor-c
Soroosh129 5c9c86c
Removed unexplained check (cycle detection is handled before this)
Soroosh129 145777f
Update reactor-c ref
Soroosh129 a2485e5
Updated ci to use the new RTI
Soroosh129 197a2a7
Turn off DEBUG
Soroosh129 2c6835d
Updated ref to reactor-c
Soroosh129 971a366
Updated reactor-c ref
Soroosh129 b1f7030
Updated reactor-c ref
Soroosh129 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule reactor-c
updated
6 files
+12 −1 | core/federated/RTI/rti.c | |
+22 −13 | core/federated/federate.c | |
+23 −2 | core/federated/net_common.h | |
+5 −1 | core/reactor_common.c | |
+10 −20 | core/threaded/reactor_threaded.c | |
+1 −1 | lingua-franca-ref.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
target C { | ||
timeout: 1 sec | ||
} | ||
reactor Loop { | ||
input in:int; | ||
output out:int; | ||
timer t(0, 100 msec); | ||
state count:int(1); | ||
reaction(in) {= | ||
info_print("Received %d.", in->value); | ||
if (in->value != self->count) { | ||
error_print_and_exit( | ||
"Expected %d. Got %d.", | ||
self->count, | ||
in->value | ||
); | ||
} | ||
self->count++; | ||
=} | ||
reaction(t) -> out {= | ||
SET(out, self->count); | ||
=} | ||
reaction(shutdown) {= | ||
if (self->count != 11) { | ||
error_print_and_exit( | ||
"Expected 11 messages. Got %d.", | ||
self->count | ||
); | ||
} | ||
=} | ||
} | ||
federated reactor { | ||
l = new Loop() | ||
|
||
l.out -> l.in after 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, we probably don't want these changes in ci.yml to be committed when this is merged to master, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do. After merging, it's a matter of changing these to
master
. This will work as long as the referenced branch exists.