Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 14:28:53 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Sylvestre Gallon <syl@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 163077 for review
Message-ID:  <200905301428.54367.hselasky@c2i.net>
In-Reply-To: <200905301128.n4UBSGad022347@repoman.freebsd.org>
References:  <200905301128.n4UBSGad022347@repoman.freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Saturday 30 May 2009, Sylvestre Gallon wrote:
> +               ret = libusb20_dev_process(devh->os_priv);
> +               if (ret == 0 || LIBUSB20_ERROR_NO_DEVICE)

ret == LIBUSB20_ERROR_NO_DEVICE

One note:

libusb20 is not thread safe. So you might need an additional lock for that, 
I.E. when you call libusb20_dev_process() and libusb20_tr_submit()++ must be 
atomic. If this cannot be solved in libusb10, I will do something.

--HPS


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905301428.54367.hselasky>