aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-21 16:27:14 -0800
committerJosh Blum <josh@joshknows.com>2011-01-21 16:27:14 -0800
commite13cf1a128aa6c553532b4ef302e692edd0757d0 (patch)
treeecb4a9ad734f8e06f151bdf7e25226a1cd906953 /host
parent0173a513cc517f41d911e501209076b26d9217d0 (diff)
downloaduhd-e13cf1a128aa6c553532b4ef302e692edd0757d0.tar.gz
uhd-e13cf1a128aa6c553532b4ef302e692edd0757d0.tar.bz2
uhd-e13cf1a128aa6c553532b4ef302e692edd0757d0.zip
usb: restored disable_interruption on get_lut_with_wait (gets called externally)
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/libusb1_zero_copy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/transport/libusb1_zero_copy.cpp b/host/lib/transport/libusb1_zero_copy.cpp
index adc590284..311a8953b 100644
--- a/host/lib/transport/libusb1_zero_copy.cpp
+++ b/host/lib/transport/libusb1_zero_copy.cpp
@@ -271,6 +271,7 @@ void usb_endpoint::print_transfer_status(libusb_transfer *lut){
}
libusb_transfer *usb_endpoint::get_lut_with_wait(double timeout){
+ boost::this_thread::disable_interruption di; //disable because the wait can throw
libusb_transfer *lut;
if (_completed_list->pop_with_timed_wait(lut, timeout)) return lut;
return NULL;