summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/tpb_thread_body.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/tpb_thread_body.h')
-rw-r--r--gnuradio-runtime/lib/tpb_thread_body.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/tpb_thread_body.h b/gnuradio-runtime/lib/tpb_thread_body.h
index 9859b125dd..c500582cf3 100644
--- a/gnuradio-runtime/lib/tpb_thread_body.h
+++ b/gnuradio-runtime/lib/tpb_thread_body.h
@@ -24,6 +24,7 @@
#include <gnuradio/api.h>
#include <gnuradio/block.h>
#include <gnuradio/block_detail.h>
+#include <gnuradio/thread/thread.h>
#include "block_executor.h"
namespace gr {
@@ -40,7 +41,7 @@ namespace gr {
block_executor d_exec;
public:
- tpb_thread_body(block_sptr block, int max_noutput_items=100000);
+ tpb_thread_body(block_sptr block, thread::barrier_sptr start_sync, int max_noutput_items=100000);
~tpb_thread_body();
};