some clean up

This commit is contained in:
Bastian Bloessl
2016-04-23 11:07:52 +02:00
parent d182ea5a96
commit 842db2eeea
8 changed files with 45 additions and 53 deletions
+2 -3
View File
@@ -80,11 +80,11 @@ periodic_msg_source_impl::run(periodic_msg_source_impl *instance) {
if(d_nmsg_left > 0) {
d_nmsg_left--;
}
delay = d_interval;
}
boost::this_thread::sleep(boost::posix_time::milliseconds(delay));
}
}
} catch(boost::thread_interrupted) {
gr::thread::scoped_lock(d_mutex);
@@ -151,4 +151,3 @@ periodic_msg_source::sptr
periodic_msg_source::make(pmt::pmt_t msg, float interval, int num_msg, bool quit, bool debug) {
return gnuradio::get_initial_sptr(new periodic_msg_source_impl(msg, interval, num_msg, quit, debug));
}