diff options
author | Andrej Rode <mail@andrejro.de> | 2017-04-13 23:38:12 -0700 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2017-04-23 16:09:13 -0700 |
commit | 10b7f835854f46ac390fdb6954d312a6b0ba30e9 (patch) | |
tree | 681b9a7b2a66eb5d09804d1acfff16017b686775 /gnuradio-runtime/lib/tpb_thread_body.h | |
parent | d1a5dbf904a4512e6c9c14720a40cd3727650aba (diff) |
runtime: add barrier to synchronize block startup
Diffstat (limited to 'gnuradio-runtime/lib/tpb_thread_body.h')
-rw-r--r-- | gnuradio-runtime/lib/tpb_thread_body.h | 3 |
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(); }; |