diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-05-30 14:05:38 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-05-30 14:05:38 -0700 |
commit | c5f7b07aff9320e3d13bb8d26aa4dc43093e569a (patch) | |
tree | 25720b562fa01915560ad736e1b2a51a819cd514 /gr-zeromq/lib/req_msg_source_impl.cc | |
parent | 45d19af2509272020298499aec37c3af42cb71d5 (diff) | |
parent | 0d32337545f554dffe0dee69f5f1415ac2f5b673 (diff) |
Merge branch 'master' into next
Diffstat (limited to 'gr-zeromq/lib/req_msg_source_impl.cc')
-rw-r--r-- | gr-zeromq/lib/req_msg_source_impl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-zeromq/lib/req_msg_source_impl.cc b/gr-zeromq/lib/req_msg_source_impl.cc index b30ef2679d..e231a31962 100644 --- a/gr-zeromq/lib/req_msg_source_impl.cc +++ b/gr-zeromq/lib/req_msg_source_impl.cc @@ -25,6 +25,8 @@ #endif #include <gnuradio/io_signature.h> +#include <boost/thread/thread.hpp> +#include <boost/date_time/posix_time/posix_time.hpp> #include "req_msg_source_impl.h" #include "tag_headers.h" @@ -114,7 +116,7 @@ namespace gr { message_port_pub(pmt::mp("out"), m); } else { - usleep(100); + boost::this_thread::sleep(boost::posix_time::microseconds(100)); } } } |