From e13cf1a128aa6c553532b4ef302e692edd0757d0 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 21 Jan 2011 16:27:14 -0800 Subject: usb: restored disable_interruption on get_lut_with_wait (gets called externally) --- host/lib/transport/libusb1_zero_copy.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/transport') 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; -- cgit v1.2.3