Skip to content

Commit

Permalink
#251 example: update to use finishedEpoch uniformly
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jan 19, 2019
1 parent ca4ee06 commit 1c78711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/term_ds.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ int main(int argc, char** argv) {
auto msg = makeSharedMessage<TestMsg>();
envelopeSetEpoch(msg->env, cur_epoch);
theMsg()->sendMsg<TestMsg,test_handler>((my_node + 1) % num_nodes,msg);
theTerm()->finishedEpoch(cur_epoch);
}

while (!rt->isTerminated()) {
Expand Down

0 comments on commit 1c78711

Please sign in to comment.