diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/transport/muxed_zero_copy_if.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/host/lib/transport/muxed_zero_copy_if.cpp b/host/lib/transport/muxed_zero_copy_if.cpp index b26d2097c..feaa43b70 100644 --- a/host/lib/transport/muxed_zero_copy_if.cpp +++ b/host/lib/transport/muxed_zero_copy_if.cpp @@ -13,9 +13,7 @@ #include <boost/make_shared.hpp> #include <boost/thread.hpp> #include <boost/thread/locks.hpp> -#include <chrono> #include <map> -#include <thread> using namespace uhd; using namespace uhd::transport; @@ -224,7 +222,7 @@ private: if (not _process_next_buffer()) { // Be a good citizen and yield if no packet is processed static const size_t MIN_DUR = 1; - std::this_thread::sleep_for(std::chrono::nanoseconds(MIN_DUR)); + boost::this_thread::sleep_for(boost::chrono::nanoseconds(MIN_DUR)); // We call sleep(MIN_DUR) above instead of yield() to ensure that we // relinquish the current scheduler time slot. // yield() is a hint to the scheduler to end the time |