aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-09 17:56:19 +0000
committerJosh Blum <josh@joshknows.com>2010-07-09 17:56:19 +0000
commit8dd01e451e9102db06daed171c18d9fbb848df97 (patch)
tree2965e6ca706cd140b637d7a44617f55c0e3b5649 /host/lib/usrp/usrp2/io_impl.cpp
parentad511bd81d726918a11ab1218a4bc48f8eaf6efe (diff)
parentecd7308793ad639880faf2a44f3b8b603d87c7fd (diff)
downloaduhd-8dd01e451e9102db06daed171c18d9fbb848df97.tar.gz
uhd-8dd01e451e9102db06daed171c18d9fbb848df97.tar.bz2
uhd-8dd01e451e9102db06daed171c18d9fbb848df97.zip
Merge branch 'error_handling' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/lib/usrp/usrp2/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index c96528694..0853f48be 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -135,7 +135,7 @@ void usrp2_impl::io_init(void){
for (size_t i = 0; i < _data_transports.size(); i++){
_io_impl->recv_pirate_crew.create_thread(boost::bind(
&usrp2_impl::io_impl::recv_pirate_loop,
- _io_impl, _data_transports.at(i),
+ _io_impl.get(), _data_transports.at(i),
_mboards.at(i), i
));
}
@@ -195,6 +195,6 @@ size_t usrp2_impl::recv(
io_type, _io_helper.get_rx_otw_type(), //input and output types to convert
_mboards.front()->get_master_clock_freq(), //master clock tick rate
uhd::transport::vrt::if_hdr_unpack_be,
- boost::bind(&usrp2_impl::io_impl::get_recv_buffs, _io_impl, _1)
+ boost::bind(&usrp2_impl::io_impl::get_recv_buffs, _io_impl.get(), _1)
);
}