summaryrefslogtreecommitdiff
path: root/lib/block_actor.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-06 12:44:47 -0700
committerJosh Blum2013-06-06 12:44:47 -0700
commit3739e119b81f0898755817eff618d45eed7e6692 (patch)
treebe15f701be5c17414c0299c2d9a144f5b2141078 /lib/block_actor.cpp
parentddf0db3d061d62584b1647ba08c46f5a776fb40c (diff)
downloadsandhi-3739e119b81f0898755817eff618d45eed7e6692.tar.gz
sandhi-3739e119b81f0898755817eff618d45eed7e6692.tar.bz2
sandhi-3739e119b81f0898755817eff618d45eed7e6692.zip
gras: implement actor migration w/ idle wait
Diffstat (limited to 'lib/block_actor.cpp')
-rw-r--r--lib/block_actor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/block_actor.cpp b/lib/block_actor.cpp
index 6e09d41..9d417fa 100644
--- a/lib/block_actor.cpp
+++ b/lib/block_actor.cpp
@@ -50,6 +50,7 @@ BlockActor::BlockActor(const ThreadPool &tp):
active_thread_pool.reset(); //actors hold this, now its safe to reset, weak_framework only
}
this->register_handlers();
+ this->prio_token = Token::make();
}
BlockActor::~BlockActor(void)