From 5758533839a411906f70e29975a9e9ad2926fe89 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 28 Jan 2019 14:58:30 +0100 Subject: b200_cores: Replace usage of boost::mutex with std::mutex --- host/lib/usrp/b200/b200_io_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/b200/b200_io_impl.cpp') 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 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 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 lock(_transport_setup_mutex); stream_args_t args = args_; -- cgit v1.2.3