On Tue, 24 Aug 2004, Oliver Neukum wrote:

> Where would you put the struct timer? Into the URB?

No, it would have to go in a separately allocated block.  The problem, of
course, is that the URB will often complete and be reused before the timer
expires or can be cancelled.  The block will have to contain the timer, a
pointer to the URB, copies of the original context and complete pointers,
and one or two bitflags.

The whole thing is a bit awkward, but not much more so than the current
code in message.c -- although that code has the simplifying advantage of
always running in process context.

Alan Stern



-------------------------------------------------------
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