FreeBSD 8: libusb async mode + select(2) = nogo?
Peer Stritzinger
peerst at gmail.com
Fri Jul 23 17:37:46 UTC 2010
Hi,
On Fri, Jul 23, 2010 at 7:21 PM, Hans Petter Selasky <hselasky at c2i.net> wrote:
>
> Should work, but it might be that the second poll, when you try to process the
> events, don't work like expected. After any event on the two fd's you should
> call "libusb_handle_events_locked()" using a "tv = NULL".
I was calling libusb_handle_events_timeout(ctx, NULL), does this make
an difference (only running single threaded)
-- Peer
More information about the freebsd-usb
mailing list