diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-21 16:27:14 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-21 16:27:14 -0800 |
commit | e13cf1a128aa6c553532b4ef302e692edd0757d0 (patch) | |
tree | ecb4a9ad734f8e06f151bdf7e25226a1cd906953 /host/lib | |
parent | 0173a513cc517f41d911e501209076b26d9217d0 (diff) | |
download | uhd-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/lib')
-rw-r--r-- | host/lib/transport/libusb1_zero_copy.cpp | 1 |
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; |