From 2b6ebad9ec51b3c82b4cea6ed637f47afe067c7f Mon Sep 17 00:00:00 2001 From: Peter Donovan Date: Mon, 1 Jul 2024 20:35:43 -0700 Subject: [PATCH] Update submodule --- core/src/main/resources/lib/c/reactor-c | 2 +- test/C/src/federated/CycleDetection.lf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/resources/lib/c/reactor-c b/core/src/main/resources/lib/c/reactor-c index 4f8ea7da0d..38294a303c 160000 --- a/core/src/main/resources/lib/c/reactor-c +++ b/core/src/main/resources/lib/c/reactor-c @@ -1 +1 @@ -Subproject commit 4f8ea7da0d5c05695fb1cf0560562ad97cef3c50 +Subproject commit 38294a303cfe2e3efd2cbc94d690ef4756514cb5 diff --git a/test/C/src/federated/CycleDetection.lf b/test/C/src/federated/CycleDetection.lf index 74bda26bcb..abc2614c04 100644 --- a/test/C/src/federated/CycleDetection.lf +++ b/test/C/src/federated/CycleDetection.lf @@ -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); =} } @@ -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) {=