Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A cross-platform library to access USB devices
C C++ Other

io: Always complete transfers regardless of timerfd errors

This commit addresses two issues.

First, commit a886bb0 introduced an issue where transfer callbacks
would not be called if the transfer that completed was the first
in line and the timerfd needed to be armed for another transfer.

Second, failure to set the timerfd should not prevent the transfer
from completing. The behavior has always been such, but it will
leave clients waiting for their transfer callbacks to be called.
This change will let the transfer callback complete and will return
the error through the event handling path.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
latest commit bf1635b3cb
@dickens dickens authored
Failed to load latest commit information.
.private Misc: Revert all references to libusb/libusb.info
Xcode darwin: change Xcode project end-of-line
android Misc: Revert all references to libusb/libusb.info
doc Doxygen: upgrade doxygen.cfg.in file
examples Examples: fxload improvements
libusb io: Always complete transfers regardless of timerfd errors
msvc Misc: Revert all references to libusb/libusb.info
tests Misc: Revert all references to libusb/libusb.info
.gitattributes Add INSTALL_WIN.txt eol=crlf to .gitattributes
.gitignore Android: Build for all Android architectures
AUTHORS libusb 1.0.20-rc1
COPYING Initial commit
ChangeLog libusb 1.0.20-rc2
INSTALL Initial commit
INSTALL_WIN.txt Misc: Revert all references to libusb/libusb.info
Makefile.am Makefile.am: Add Xcode dir to EXTRA_DIST
NEWS Misc: Revert all references to libusb/libusb.info
PORTING Misc: Revert all references to libusb/libusb.info
README Misc: Update README to include Haiku backend
README.git Misc: Revert all references to libusb/libusb.info
TODO Misc: Revert all references to libusb/libusb.info
autogen.sh autogen.sh: Honor NOCONFIGURE=1
bootstrap.sh haiku: Add Haiku support
configure.ac Remove -c flag. Erroneous output caused on android
libusb-1.0.pc.in Misc: Revert all references to libusb/libusb.info

README

libusb
======

libusb is a library for USB device access from Linux, Mac OS X,
Windows, OpenBSD/NetBSD and Haiku userspace.
It is written in C (Haiku backend in C++) and licensed under the GNU
Lesser General Public License version 2.1 or, at your option, any later
version (see COPYING).

libusb is abstracted internally in such a way that it can hopefully
be ported to other operating systems. Please see the PORTING file
for more information.

libusb homepage:
http://libusb.info/

Developers will wish to consult the API documentation:
http://api.libusb.info

Use the mailing list for questions, comments, etc:
http://mailing-list.libusb.info

- Pete Batard <pete@akeo.ie>
- Hans de Goede <hdegoede@redhat.com>
- Xiaofan Chen <xiaofanc@gmail.com>
- Ludovic Rousseau <ludovic.rousseau@gmail.com>
- Nathan Hjelm <hjelmn@users.sourceforge.net>
- Chris Dickens <christopher.a.dickens@gmail.com>
(Please use the mailing list rather than mailing developers directly)
Something went wrong with that request. Please try again.