diff options
Diffstat (limited to 'gnuradio-runtime/lib/tpb_thread_body.h')
-rw-r--r-- | gnuradio-runtime/lib/tpb_thread_body.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/gnuradio-runtime/lib/tpb_thread_body.h b/gnuradio-runtime/lib/tpb_thread_body.h index c500582cf3..c919612281 100644 --- a/gnuradio-runtime/lib/tpb_thread_body.h +++ b/gnuradio-runtime/lib/tpb_thread_body.h @@ -29,21 +29,23 @@ namespace gr { - /*! - * \brief The body of each thread-per-block thread. - * - * One of these is instantiated in its own thread for each block. - * The constructor turns into the main loop which returns when the - * block is done or is interrupted. - */ - class GR_RUNTIME_API tpb_thread_body - { +/*! + * \brief The body of each thread-per-block thread. + * + * One of these is instantiated in its own thread for each block. + * The constructor turns into the main loop which returns when the + * block is done or is interrupted. + */ +class GR_RUNTIME_API tpb_thread_body +{ block_executor d_exec; - public: - tpb_thread_body(block_sptr block, thread::barrier_sptr start_sync, int max_noutput_items=100000); +public: + tpb_thread_body(block_sptr block, + thread::barrier_sptr start_sync, + int max_noutput_items = 100000); ~tpb_thread_body(); - }; +}; } /* namespace gr */ |