summaryrefslogtreecommitdiff
path: root/lib/input_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-10-04 20:09:59 -0700
committerJosh Blum2012-10-04 20:09:59 -0700
commit12170824b70fa127fe8ed0ac1b81c627c06bd851 (patch)
treecbe9c7a79c09ff23eda48ff62151924b820d27c8 /lib/input_handlers.cpp
parentd889b683cd36d5ec679fcfcc35e3ebd731846abb (diff)
parent3b26ff66074621c1fd1dc26b616ec1583c2fb024 (diff)
downloadsandhi-12170824b70fa127fe8ed0ac1b81c627c06bd851.tar.gz
sandhi-12170824b70fa127fe8ed0ac1b81c627c06bd851.tar.bz2
sandhi-12170824b70fa127fe8ed0ac1b81c627c06bd851.zip
Merge branch 'master' into port_config
Diffstat (limited to 'lib/input_handlers.cpp')
-rw-r--r--lib/input_handlers.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/input_handlers.cpp b/lib/input_handlers.cpp
index 8d778f1..574aee4 100644
--- a/lib/input_handlers.cpp
+++ b/lib/input_handlers.cpp
@@ -56,13 +56,9 @@ void BlockActor::handle_input_check(const InputCheckMessage &message, const Ther
//an upstream block declared itself done, recheck the token
this->inputs_done.set(index, this->input_tokens[index].unique());
-
- if (this->inputs_done.all()) //no upstream providers
+ if (this->any_inputs_done()) //missing an upstream provider
{
- if (not this->input_queues.all_ready())
- {
- this->mark_done();
- }
+ this->mark_done();
}
}