Am Donnerstag, 19. August 2004 15:01 schrieb Wolfgang Mües:
> Hello,
> 
> in message.c, inside usb_start_wait_urb(), I found:
> 
>               if (timeout > 0) {
>                       init_timer(&timer);
>                       timer.expires = jiffies + timeout;
> 
> (this is Linux 2.6.5 from Suse 9.1, btw).
> 
> I want to know why there is a special timeout handling needed?
> From usb.h, I know that urb->timeout is a valid input parameter for all 
> types of urbs, regardless of synchronous or asynchronous submitting.

That tiemout handling doesn't work in the generic case. Arguably it should.

        Regards
                Oliver


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to