diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-01-28 14:58:30 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-02-15 11:12:54 -0800 |
commit | 5758533839a411906f70e29975a9e9ad2926fe89 (patch) | |
tree | 1f67b3e3328e0d872ed937a02f778ebcc3ec7822 /host/lib/usrp/b200/b200_cores.hpp | |
parent | 3d726342ff5f0eef8c82496c0d0df771c715cfd0 (diff) | |
download | uhd-5758533839a411906f70e29975a9e9ad2926fe89.tar.gz uhd-5758533839a411906f70e29975a9e9ad2926fe89.tar.bz2 uhd-5758533839a411906f70e29975a9e9ad2926fe89.zip |
b200_cores: Replace usage of boost::mutex with std::mutex
Diffstat (limited to 'host/lib/usrp/b200/b200_cores.hpp')
-rw-r--r-- | host/lib/usrp/b200/b200_cores.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_cores.hpp b/host/lib/usrp/b200/b200_cores.hpp index 7b5484831..7dabb66e9 100644 --- a/host/lib/usrp/b200/b200_cores.hpp +++ b/host/lib/usrp/b200/b200_cores.hpp @@ -12,7 +12,8 @@ #include <uhd/utils/noncopyable.hpp> #include <uhdlib/usrp/cores/spi_core_3000.hpp> #include <uhdlib/usrp/common/adf4001_ctrl.hpp> -#include <boost/thread/mutex.hpp> +#include <boost/shared_ptr.hpp> +#include <mutex> class b200_local_spi_core : uhd::noncopyable, public uhd::spi_iface { @@ -41,7 +42,7 @@ private: spi_core_3000::sptr _spi_core; perif_t _current_perif; perif_t _last_perif; - boost::mutex _mutex; + std::mutex _mutex; }; class b200_ref_pll_ctrl : public uhd::usrp::adf4001_ctrl { |