hi:

2012/5/8 Ezequiel Garcia <[email protected]>:
> On Mon, May 7, 2012 at 2:48 PM, Peter Senna Tschudin
> <[email protected]> wrote:
>> http://www.makelinux.net/ldd3/chp-13-sect-3#chp-13-sect-3.4
>>
>> " If the function succeeds, the completion handler of the urb (as
>> specified by the complete function pointer) is called exactly once
>> when the urb is completed. When this function is called, the USB core
>> is finished with the URB, and control of it is now returned to the
>> device driver."
>>
>
> Bingo! Because the driver will only submit *one* urb at a time,
> how could it possible have more than one completion handlers
> called at a time?
how about multi-thread try to send urbs on the same pipe with the same
complete function?
>
> I wasn't thinking with the right half of my brain.
> Thanks,
> Ezequiel.
>
> _______________________________________________
> Kernelnewbies mailing list
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



-- 
Regards,

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to