aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-13 15:01:45 -0700
committerJosh Blum <josh@joshknows.com>2010-10-13 15:01:45 -0700
commitc25fd486f82d646cf8a08582c6e7105fd3c58c45 (patch)
tree2b30ea311457cf241e444cc1793c80d47240b9f1 /host/lib/usrp/usrp2
parentc6042a0b317a6f74d2b74b259f14431f5c8246d4 (diff)
downloaduhd-c25fd486f82d646cf8a08582c6e7105fd3c58c45.tar.gz
uhd-c25fd486f82d646cf8a08582c6e7105fd3c58c45.tar.bz2
uhd-c25fd486f82d646cf8a08582c6e7105fd3c58c45.zip
udp: fix to use concurrency hint, default hint is zero when no async enabled
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index d6f7e8476..25fd1c484 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -69,6 +69,7 @@ public:
* \return false on timeout
*/
UHD_INLINE bool check_fc_condition(seq_type seq, double timeout){
+ boost::this_thread::disable_interruption di; //disable because the wait can throw
boost::unique_lock<boost::mutex> lock(_fc_mutex);
_last_seq_out = seq;
return _fc_cond.timed_wait(