summaryrefslogtreecommitdiff
path: root/lib/input_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-06 11:55:53 -0700
committerJosh Blum2013-06-06 11:55:53 -0700
commit4f03a5c6264ba3cd888454360f4c6819fa38023d (patch)
tree080e9d41148ac911b745009c869f9da7a0475c4d /lib/input_handlers.cpp
parent43c7ef3e7807ad3035a2882d237b0441e6102817 (diff)
downloadsandhi-4f03a5c6264ba3cd888454360f4c6819fa38023d.tar.gz
sandhi-4f03a5c6264ba3cd888454360f4c6819fa38023d.tar.bz2
sandhi-4f03a5c6264ba3cd888454360f4c6819fa38023d.zip
gras: changes for actor in worker Apology commit
Diffstat (limited to 'lib/input_handlers.cpp')
-rw-r--r--lib/input_handlers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/input_handlers.cpp b/lib/input_handlers.cpp
index 1210688..c3d4936 100644
--- a/lib/input_handlers.cpp
+++ b/lib/input_handlers.cpp
@@ -51,7 +51,7 @@ void BlockActor::handle_input_token(const InputTokenMessage &message, const Ther
{
TimerAccumulate ta(data->stats.total_time_input);
MESSAGE_TRACER();
- ASSERT(message.index < this->get_num_inputs());
+ ASSERT(message.index < worker->get_num_inputs());
//store the token of the upstream producer
data->token_pool.insert(message.token);
@@ -83,7 +83,7 @@ void BlockActor::handle_input_alloc(const InputAllocMessage &message, const Ther
//handle the upstream block allocation request
OutputAllocMessage new_msg;
new_msg.queue = block_ptr->input_buffer_allocator(index, message.config);
- if (new_msg.queue) this->post_upstream(index, new_msg);
+ if (new_msg.queue) worker->post_upstream(index, new_msg);
}
void BlockActor::handle_input_update(const InputUpdateMessage &message, const Theron::Address)