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) {=