diff options
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/rfnoc/chdr_ctrl_endpoint.cpp | 1 | ||||
-rw-r--r-- | host/lib/utils/log.cpp | 6 | ||||
-rw-r--r-- | host/lib/utils/log_c.cpp | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/host/lib/rfnoc/chdr_ctrl_endpoint.cpp b/host/lib/rfnoc/chdr_ctrl_endpoint.cpp index 592d3dde8..7d9bb8d1b 100644 --- a/host/lib/rfnoc/chdr_ctrl_endpoint.cpp +++ b/host/lib/rfnoc/chdr_ctrl_endpoint.cpp @@ -12,6 +12,7 @@ #include <uhdlib/rfnoc/chdr_ctrl_endpoint.hpp> #include <uhdlib/rfnoc/chdr_packet_writer.hpp> #include <boost/format.hpp> +#include <boost/thread.hpp> #include <atomic> #include <mutex> #include <thread> diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp index fa17d79e8..cf18e00c7 100644 --- a/host/lib/utils/log.cpp +++ b/host/lib/utils/log.cpp @@ -266,7 +266,7 @@ public: __FILE__, __LINE__, "LOGGING", - boost::this_thread::get_id()); + std::this_thread::get_id()); final_message.message = ""; push(final_message); # ifndef UHD_LOG_FASTPATH_DISABLE @@ -482,7 +482,7 @@ private: __FILE__, __LINE__, component, - boost::this_thread::get_id()); + std::this_thread::get_id()); log_msg.message = msg; _log_queue.push_with_timed_wait(log_msg, 0.25); } @@ -506,7 +506,7 @@ uhd::_log::log::log(const uhd::log::severity_level verbosity, const std::string& file, const unsigned int line, const std::string& component, - const boost::thread::id thread_id) + const std::thread::id thread_id) : _log_it(verbosity >= log_rs().global_level) { if (_log_it) { diff --git a/host/lib/utils/log_c.cpp b/host/lib/utils/log_c.cpp index be08dbe01..932ab25ff 100644 --- a/host/lib/utils/log_c.cpp +++ b/host/lib/utils/log_c.cpp @@ -48,7 +48,7 @@ void UHD_API _uhd_log(const uhd_log_severity_level_t log_level, filename, unsigned(lineno), component, - boost::this_thread::get_id()) + std::this_thread::get_id()) << c_str; } catch (...) { } |