PERFORCE change 163077 for review
Sylvestre Gallon
ccna.syl at gmail.com
Sat May 30 12:47:49 UTC 2009
On Sat, May 30, 2009 at 2:28 PM, Hans Petter Selasky <hselasky at c2i.net> wrote:
> 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
>
Ok,
I will add a mutex for libusb20.
Cheers,
--
Sylvestre Gallon (http://devsyl.blogspot.com)
Fifth Grade Student @ Epitech & Researcher @ LSE
R&D @ Rathaxes (http://www.rathaxes.org)
More information about the p4-projects
mailing list