Skip to content

Commit

Permalink
Update submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
petervdonovan authored and cmnrd committed Jul 2, 2024
1 parent 1d2ea73 commit 2b6ebad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/c/reactor-c
3 changes: 3 additions & 0 deletions test/C/src/federated/CycleDetection.lf
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ reactor CAReplica {
if (remote_update->is_present) {
self->balance += remote_update->value;
}
lf_print("Balance updated to %d.", self->balance);
=}

reaction(query) -> response {=
lf_set(response, self->balance);
lf_print("Sending balance of %d.", self->balance);
=}
}

Expand All @@ -37,6 +39,7 @@ reactor UserInput(send_stop: bool = true) {

reaction(startup) -> deposit {=
lf_set(deposit, 100);
lf_print("Sending deposit of 100.");
=}

reaction(balance) {=
Expand Down

0 comments on commit 2b6ebad

Please sign in to comment.