aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-02-08 10:46:06 -0800
committerMartin Braun <martin.braun@ettus.com>2018-02-08 22:33:18 +0100
commit035c394738874065e7f28a3d7652b777297271f8 (patch)
tree1e6e31c088878877313bcff0fa7092d19b95258b /host/lib/rfnoc/radio_ctrl_impl.hpp
parentb0c8c6bc3f759b80c83c3a5a652e775c660d59a3 (diff)
downloaduhd-035c394738874065e7f28a3d7652b777297271f8.tar.gz
uhd-035c394738874065e7f28a3d7652b777297271f8.tar.bz2
uhd-035c394738874065e7f28a3d7652b777297271f8.zip
rfnoc: Refactor radio_ctrl_impl, remove some Boost
- Replaces some very verbose boost::bind() with simpler lambdas - Replaces some boost:tuple with std::tuple - Replaces some Boost locks with std locks
Diffstat (limited to 'host/lib/rfnoc/radio_ctrl_impl.hpp')
-rw-r--r--host/lib/rfnoc/radio_ctrl_impl.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/rfnoc/radio_ctrl_impl.hpp b/host/lib/rfnoc/radio_ctrl_impl.hpp
index 85ae860d4..953807407 100644
--- a/host/lib/rfnoc/radio_ctrl_impl.hpp
+++ b/host/lib/rfnoc/radio_ctrl_impl.hpp
@@ -14,6 +14,7 @@
#include <uhd/rfnoc/radio_ctrl.hpp>
#include <uhd/types/direction.hpp>
#include <boost/thread.hpp>
+#include <mutex>
//! Shorthand for radio block constructor
#define UHD_RFNOC_RADIO_BLOCK_CONSTRUCTOR_DECL(CLASS_NAME) \
@@ -209,7 +210,7 @@ protected: // TODO see what's protected and what's private
//! There is always only one time core per radio
time_core_3000::sptr _time64;
- boost::mutex _mutex;
+ std::mutex _mutex;
private:
/************************************************************************