summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/scheduler_tpb.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2019-08-07 21:45:12 +0200
committerMarcus Müller <marcus@hostalia.de>2019-08-09 23:04:28 +0200
commitf7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch)
treee09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gnuradio-runtime/lib/scheduler_tpb.h
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'gnuradio-runtime/lib/scheduler_tpb.h')
-rw-r--r--gnuradio-runtime/lib/scheduler_tpb.h19
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 */