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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 30, 2009 at 2:28 PM, Hans Petter Selasky <hselasky@c2i.net> wro=
te:
> On Saturday 30 May 2009, Sylvestre Gallon wrote:
>> +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0ret =3D libusb20_dev_proce=
ss(devh->os_priv);
>> +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0if (ret =3D=3D 0 || LIBUSB=
20_ERROR_NO_DEVICE)
>
> ret =3D=3D LIBUSB20_ERROR_NO_DEVICE
>
> One note:
>
> libusb20 is not thread safe. So you might need an additional lock for tha=
t,
> 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,

--=20
Sylvestre Gallon (http://devsyl.blogspot.com)
Fifth Grade Student @ Epitech & Researcher @ LSE
R&D @ Rathaxes (http://www.rathaxes.org)



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