summaryrefslogtreecommitdiff
path: root/lib/block_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-10-04 20:01:53 -0700
committerJosh Blum2012-10-04 20:01:53 -0700
commit3b26ff66074621c1fd1dc26b616ec1583c2fb024 (patch)
tree3cbe010f6f2cbd20eafa020e8525d11bb56b6c5a /lib/block_handlers.cpp
parent80ad97851736b0ebaba0347480e8cbcadd2f4ada (diff)
downloadsandhi-3b26ff66074621c1fd1dc26b616ec1583c2fb024.tar.gz
sandhi-3b26ff66074621c1fd1dc26b616ec1583c2fb024.tar.bz2
sandhi-3b26ff66074621c1fd1dc26b616ec1583c2fb024.zip
updated to latest subprojects, got compiling
due to the return 0 fix, interruptible threads are now optional, and by defualt off added empty hooks for max/min buffer stuff so its compiling...
Diffstat (limited to 'lib/block_handlers.cpp')
-rw-r--r--lib/block_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index 694f781..eeb54aa 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -130,7 +130,7 @@ void BlockActor::handle_top_thread_group(
//spawn a new thread if this block is a source
this->thread_group = message;
this->interruptible_thread.reset(); //erase old one
- if (this->get_num_inputs() == 0) //its a source
+ if (this->interruptible_work)
{
this->interruptible_thread = boost::make_shared<InterruptibleThread>(
this->thread_group, boost::bind(&BlockActor::task_work, this)