diff options
Diffstat (limited to 'gnuradio-runtime/lib/scheduler_tpb.h')
-rw-r--r-- | gnuradio-runtime/lib/scheduler_tpb.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gnuradio-runtime/lib/scheduler_tpb.h b/gnuradio-runtime/lib/scheduler_tpb.h index f5ab21f269..a353d1aae0 100644 --- a/gnuradio-runtime/lib/scheduler_tpb.h +++ b/gnuradio-runtime/lib/scheduler_tpb.h @@ -28,14 +28,14 @@ namespace gr { - /*! - * \brief Concrete scheduler that uses a kernel thread-per-block - */ - class GR_RUNTIME_API scheduler_tpb : public scheduler - { +/*! + * \brief Concrete scheduler that uses a kernel thread-per-block + */ +class GR_RUNTIME_API scheduler_tpb : public scheduler +{ gr::thread::thread_group d_threads; - protected: +protected: /*! * \brief Construct a scheduler and begin evaluating the graph. * @@ -44,9 +44,8 @@ namespace gr { */ scheduler_tpb(flat_flowgraph_sptr ffg, int max_noutput_items); - public: - static scheduler_sptr make(flat_flowgraph_sptr ffg, - int max_noutput_items=100000); +public: + static scheduler_sptr make(flat_flowgraph_sptr ffg, int max_noutput_items = 100000); ~scheduler_tpb(); @@ -59,7 +58,7 @@ namespace gr { * \brief Block until the graph is done. */ void wait(); - }; +}; } /* namespace gr */ |