Skip to content

Commit

Permalink
Address the delay in reaching stop time consensus.
Browse files Browse the repository at this point in the history
  • Loading branch information
petervdonovan committed Sep 28, 2023
1 parent 1aca6c1 commit e2c7fd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/C/src/federated/SmallDelayDecentralized.lf
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ reactor Count {
=}

reaction(loop) -> out {=
lf_set(out, self->count++);
lf_schedule(loop, 0);
if (self->count < 20) {
lf_set(out, self->count++);
lf_schedule(loop, 0);
}
=}
}

Expand Down Expand Up @@ -48,8 +50,6 @@ reactor Print {
lf_schedule(loop, 0);
}
=}

reaction(shutdown) {= =}
}

federated reactor {
Expand Down

0 comments on commit e2c7fd9

Please sign in to comment.