diff options
author | Josh Blum | 2012-11-23 11:29:06 -0800 |
---|---|---|
committer | Josh Blum | 2012-11-23 11:29:06 -0800 |
commit | 45dd52310ad88b6ea249b310178599a892427648 (patch) | |
tree | 19777569e5349a100cd60d3b837ab5949650117c /lib/block_handlers.cpp | |
parent | 55c68e6f7a2703bfd6566b0b26151e196d7ea62d (diff) | |
download | sandhi-45dd52310ad88b6ea249b310178599a892427648.tar.gz sandhi-45dd52310ad88b6ea249b310178599a892427648.tar.bz2 sandhi-45dd52310ad88b6ea249b310178599a892427648.zip |
async atomic notification of stop condition
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r-- | lib/block_handlers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp index 7e07362..3d66ec9 100644 --- a/lib/block_handlers.cpp +++ b/lib/block_handlers.cpp @@ -8,7 +8,7 @@ using namespace gras; void BlockActor::handle_top_active( - const TopActiveMessage &, + const TopActiveMessage &message, const Theron::Address from ){ MESSAGE_TRACER(); @@ -18,6 +18,7 @@ void BlockActor::handle_top_active( this->block_ptr->start(); } this->block_state = BLOCK_STATE_LIVE; + this->active_token = message.token; this->Push(SelfKickMessage(), Theron::Address()); |