Alan Stern wrote:
> On Mon, 26 Jun 2006, Oliver Neukum wrote:
> 
>> Am Montag, 26. Juni 2006 17:34 schrieb Franck Bui-Huu:
>>> It also put the task in interruptible state instead of an
>>> uninterruptible one while waiting for the completion. I'm not
>>> sure about this part though and the comment is not clear.
>>> If someone can confirm that the task can be put in an interruptible
>>> state here that would be great.
>> You must not wait interruptably here. Delivering a signal during
>> device reset could be fatal to the bus.
> 
> More importantly, usbcore relies on this routine for sending sequences of
> messages.  A signal would not only interrupt the current message, it would
> prevent any further messages from being sent until the signal was handled.
> 

So what does this comment try to say ?

/*
 * Starts urb and waits for completion or timeout note that this call
 * is NOT interruptible, while many device driver i/o requests should
 * be interruptible
 */

Maybe we could improve it a little ?

                Franck

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to