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_io_impl.cpp | |
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_io_impl.cpp')
-rw-r--r-- | host/lib/usrp/b200/b200_io_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_io_impl.cpp b/host/lib/usrp/b200/b200_io_impl.cpp index 69797017b..5a0de430f 100644 --- a/host/lib/usrp/b200/b200_io_impl.cpp +++ b/host/lib/usrp/b200/b200_io_impl.cpp @@ -391,7 +391,7 @@ boost::optional<uhd::msg_task::msg_type_t> b200_impl::handle_async_task( **********************************************************************/ rx_streamer::sptr b200_impl::get_rx_stream(const uhd::stream_args_t& args_) { - boost::mutex::scoped_lock lock(_transport_setup_mutex); + std::lock_guard<std::mutex> lock(_transport_setup_mutex); stream_args_t args = args_; @@ -513,7 +513,7 @@ void b200_impl::handle_overflow(const size_t radio_index) **********************************************************************/ tx_streamer::sptr b200_impl::get_tx_stream(const uhd::stream_args_t& args_) { - boost::mutex::scoped_lock lock(_transport_setup_mutex); + std::lock_guard<std::mutex> lock(_transport_setup_mutex); stream_args_t args = args_; |