summaryrefslogtreecommitdiff
path: root/lib/block_task.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-20 18:10:34 -0700
committerJosh Blum2012-09-20 18:10:34 -0700
commit70d6105c6a5356e2b5dadeae45751239c080cace (patch)
tree7cc4ac9c1ecf3cd83f9c686c533751596ec984ac /lib/block_task.cpp
parent6fed7c8bd373fcde314afeac8e0b110b642c31c6 (diff)
downloadsandhi-70d6105c6a5356e2b5dadeae45751239c080cace.tar.gz
sandhi-70d6105c6a5356e2b5dadeae45751239c080cace.tar.bz2
sandhi-70d6105c6a5356e2b5dadeae45751239c080cace.zip
fun with inlines
Diffstat (limited to 'lib/block_task.cpp')
-rw-r--r--lib/block_task.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp
index 5214e9c..9cb7e22 100644
--- a/lib/block_task.cpp
+++ b/lib/block_task.cpp
@@ -264,6 +264,7 @@ void ElementImpl::handle_task(const tsbe::TaskInterface &task_iface)
//------------------------------------------------------------------
//-- trim the input tags that are past the consumption zone
//-- and post trimmed tags to the downstream based on policy
+ //-- //FIXME this propagation is AFTER the output buffers flushed... fix this
//------------------------------------------------------------------
for (size_t i = 0; i < num_inputs; i++)
{
@@ -313,7 +314,7 @@ void ElementImpl::handle_task(const tsbe::TaskInterface &task_iface)
this->conclusion(task_iface, inputs_done);
}
-inline void ElementImpl::conclusion(const tsbe::TaskInterface &task_iface, const bool inputs_done)
+GRAS_FORCE_INLINE void ElementImpl::conclusion(const tsbe::TaskInterface &task_iface, const bool inputs_done)
{
//if there are inputs, and not all are provided for,
//tell the block to check input queues and handle done