aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-04 15:17:57 -0700
committerJosh Blum <josh@joshknows.com>2010-10-04 15:17:57 -0700
commitf642942dc364c1d26a9128c1ba631d3604d0671a (patch)
tree9df6c49fa723ac4fde85d8b75399c06338938ba8 /host/lib/usrp/usrp_e/io_impl.cpp
parente54aa5ba5a65698a106cc0852b856cab5cd8e767 (diff)
downloaduhd-f642942dc364c1d26a9128c1ba631d3604d0671a.tar.gz
uhd-f642942dc364c1d26a9128c1ba631d3604d0671a.tar.bz2
uhd-f642942dc364c1d26a9128c1ba631d3604d0671a.zip
usrp-e: check if flags are ready after poll
Diffstat (limited to 'host/lib/usrp/usrp_e/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp_e/io_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp_e/io_impl.cpp b/host/lib/usrp/usrp_e/io_impl.cpp
index 1e577a4df..2802a6b87 100644
--- a/host/lib/usrp/usrp_e/io_impl.cpp
+++ b/host/lib/usrp/usrp_e/io_impl.cpp
@@ -130,12 +130,12 @@ void usrp_e_impl::io_impl::recv_pirate_loop(
continue;
}
+ //same number of frames as the data transport -> always immediate
+ recv_pirate_booty->push_with_wait(buff);
+
}catch(const std::exception &e){
std::cerr << "Error (usrp-e recv pirate loop): " << e.what() << std::endl;
}
-
- //usrp-e back-pressures on receive: push with wait
- recv_pirate_booty->push_with_wait(buff);
}
}