diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-09-30 21:55:16 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-09-30 23:00:26 -0400 |
commit | fc1289aa096ce7c51f55095849739d623d0f6131 (patch) | |
tree | 5f7da8b064ff940959796efe13265d224b7f7267 /gr-blocks/lib/message_strobe_impl.cc | |
parent | efd9bcd21d9f36fb1d85c7d3794bae3d6882feb1 (diff) |
blocks: switching last calls from boost::thread to gr::thread.
There are a few places where the threads are specifically used by boost::thread calls in the namespace. If we ever move away from using boost's threads, we might have some more specific cleanup to do, but it's not obvious how to easily abstract this further.
Addresses Issue # 706.
Diffstat (limited to 'gr-blocks/lib/message_strobe_impl.cc')
-rw-r--r-- | gr-blocks/lib/message_strobe_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/message_strobe_impl.cc b/gr-blocks/lib/message_strobe_impl.cc index bd0ad80142..b3f1782229 100644 --- a/gr-blocks/lib/message_strobe_impl.cc +++ b/gr-blocks/lib/message_strobe_impl.cc @@ -47,15 +47,15 @@ namespace gr { message_strobe_impl::message_strobe_impl(pmt::pmt_t msg, float period_ms) : block("message_strobe", - io_signature::make(0, 0, 0), - io_signature::make(0, 0, 0)), + io_signature::make(0, 0, 0), + io_signature::make(0, 0, 0)), d_finished(false), d_period_ms(period_ms), d_msg(msg) { message_port_register_out(pmt::mp("strobe")); - d_thread = boost::shared_ptr<boost::thread> - (new boost::thread(boost::bind(&message_strobe_impl::run, this))); + d_thread = boost::shared_ptr<gr::thread::thread> + (new gr::thread::thread(boost::bind(&message_strobe_impl::run, this))); message_port_register_in(pmt::mp("set_msg")); set_msg_handler(pmt::mp("set_msg"), |