From b20358ac28feb93d8196d7a6106aa77ca8592908 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 10 Apr 2018 22:26:48 +0200 Subject: Replace boost thread in UHD.cpp --- src/output/UHD.cpp | 4 ++-- src/output/UHD.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/output') diff --git a/src/output/UHD.cpp b/src/output/UHD.cpp index 04137cc..711e218 100644 --- a/src/output/UHD.cpp +++ b/src/output/UHD.cpp @@ -36,7 +36,7 @@ #include "RemoteControl.h" #include "Utils.h" -#include +#include #include // 3.11.0.0 introduces the API breaking change, where @@ -231,7 +231,7 @@ UHD::UHD(SDRDeviceConfig& config) : m_tx_stream = m_usrp->get_tx_stream(stream_args); m_running.store(true); - m_async_rx_thread = boost::thread(&UHD::print_async_thread, this); + m_async_rx_thread = std::thread(&UHD::print_async_thread, this); MDEBUG("OutputUHD:UHD ready.\n"); } diff --git a/src/output/UHD.h b/src/output/UHD.h index 0e9911c..9aec7ce 100644 --- a/src/output/UHD.h +++ b/src/output/UHD.h @@ -43,6 +43,7 @@ DESCRIPTION: #include #include #include +#include #include "Log.h" #include "output/SDR.h" @@ -115,7 +116,7 @@ class UHD : public Output::SDRDevice // Poll asynchronous metadata from UHD std::atomic m_running; - boost::thread m_async_rx_thread; + std::thread m_async_rx_thread; void stop_threads(void); void print_async_thread(void); }; -- cgit v1.2.3