diff options
author | Josh Blum | 2012-11-13 20:52:53 -0800 |
---|---|---|
committer | Josh Blum | 2012-11-13 20:52:53 -0800 |
commit | 8b714226a0c73ccb458707126d73bae752186db6 (patch) | |
tree | a2d70316dd0cfe319ee75e8bae63924c9b86a6ff /lib/gras_impl | |
parent | e6c5ccd5190917adcb3518add8a2dc7599bd86f1 (diff) | |
download | sandhi-8b714226a0c73ccb458707126d73bae752186db6.tar.gz sandhi-8b714226a0c73ccb458707126d73bae752186db6.tar.bz2 sandhi-8b714226a0c73ccb458707126d73bae752186db6.zip |
created API for passive work-flow
Diffstat (limited to 'lib/gras_impl')
-rw-r--r-- | lib/gras_impl/block_actor.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gras_impl/block_actor.hpp b/lib/gras_impl/block_actor.hpp index 42a05a7..6e2903b 100644 --- a/lib/gras_impl/block_actor.hpp +++ b/lib/gras_impl/block_actor.hpp @@ -92,6 +92,8 @@ struct BlockActor : Apology::Worker void trim_tags(const size_t index); void produce(const size_t index, const size_t items); void consume(const size_t index, const size_t items); + void produce_buffer(const size_t index, const SBuffer &buffer); + GRAS_FORCE_INLINE bool any_inputs_done(void) { if (this->inputs_done.none() or this->input_queues.all_ready()) return false; |