Darwin: Reduce race likelihood between cancellation and device disconnect
authorVitali Lovich <vlovich@aliph.com>
Wed, 14 Sep 2011 05:02:06 +0000 (07:02 +0200)
committerPeter Stuge <peter@stuge.se>
Mon, 17 Oct 2011 14:25:50 +0000 (16:25 +0200)
commit0c5bf03eb829e51dcf19562fc4f745937235ea51
tree8e1e1044972a0bff0b626b37d8603b2373db5a19
parent3e6e257f55156c4600f3116a0befba8cee62872a
Darwin: Reduce race likelihood between cancellation and device disconnect

References #88. The race condition still remains, but this change
makes it less likely to trigger.
libusb/os/darwin_usb.c