From 3b26ff66074621c1fd1dc26b616ec1583c2fb024 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 4 Oct 2012 20:01:53 -0700 Subject: 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... --- lib/block_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/block_handlers.cpp') 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( this->thread_group, boost::bind(&BlockActor::task_work, this) -- cgit